Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001189, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 183.8 kB / 16.92 MB, free: 6.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004103, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7284, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0009201/0.7293, allocations: 0.5376 MB / 0.9562 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001063/0.7295, allocations: 44.84 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.7295, allocations: 1.969 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.7295, allocations: 11.86 kB / 0.9563 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.7296, allocations: 5.125 kB / 0.9563 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.193e-05/0.7297, allocations: 14.45 kB / 0.9563 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.7298, allocations: 50.92 kB / 0.9564 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.7299, allocations: 43.58 kB / 0.9564 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.73, allocations: 21.47 kB / 0.9564 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.73, allocations: 23.75 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.7301, allocations: 1.938 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.7301, allocations: 1.156 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.7301, allocations: 10.19 kB / 0.9565 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.7301, allocations: 51.91 kB / 0.9565 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.946e-05/0.7302, allocations: 55.45 kB / 0.9566 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7302, allocations: 0 / 0.9566 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7302, allocations: 1.375 kB / 0.9566 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7302, allocations: 0 / 0.9566 GB, free: 6.996 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003078/0.7306, allocations: 356.8 kB / 0.9569 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7306, allocations: 9.594 kB / 0.9569 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.7306, allocations: 13.12 kB / 0.9569 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7308, allocations: 203.3 kB / 0.9571 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.7308, allocations: 14.69 kB / 0.9571 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.7309, allocations: 4.969 kB / 0.9571 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.731, allocations: 94.64 kB / 0.9572 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.731, allocations: 1.562 kB / 0.9572 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.731, allocations: 7.938 kB / 0.9572 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.731, allocations: 2.5 kB / 0.9572 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.7311, allocations: 32.11 kB / 0.9573 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.7316, allocations: 445.6 kB / 0.9577 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.7316, allocations: 33.28 kB / 0.9577 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.7317, allocations: 22.94 kB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.7317, allocations: 4.906 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7317, allocations: 35.75 kB / 0.9578 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7317, allocations: 0 / 0.9578 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001639/0.7319, allocations: 58.88 kB / 0.9578 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.7319, allocations: 78.17 kB / 0.9579 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.732, allocations: 164.9 kB / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.7321, allocations: 29.7 kB / 0.9581 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.7321, allocations: 100 kB / 0.9582 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/0.7321, allocations: 13.39 kB / 0.9582 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.7321, allocations: 11.22 kB / 0.9582 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.7322, allocations: 316.1 kB / 0.9585 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.7322, allocations: 8.234 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.7322, allocations: 17.84 kB / 0.9585 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.7323, allocations: 30.62 kB / 0.9586 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7323, allocations: 0 / 0.9586 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.465e-05/0.7324, allocations: 59.72 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7324, allocations: 4.875 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7324, allocations: 5.094 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7324, allocations: 1.312 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.7325, allocations: 8.406 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7325, allocations: 0.875 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.7325, allocations: 11.34 kB / 0.9587 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.7325, allocations: 1.188 kB / 0.9587 GB, free: 4.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.7326, allocations: 113 kB / 0.9588 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.7327, allocations: 11.61 kB / 0.9588 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.7327, allocations: 18.66 kB / 0.9588 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7327, allocations: 1.312 kB / 0.9588 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7327, allocations: 0 / 0.9588 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7327, allocations: 1.031 kB / 0.9588 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.733, allocations: 474 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.733, allocations: 0.9062 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.733, allocations: 3.062 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.733, allocations: 1.062 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.733, allocations: 5.016 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.733, allocations: 1.156 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.733, allocations: 0 / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.335e-05/0.7331, allocations: 86.41 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.7331, allocations: 92.62 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.7332, allocations: 1.344 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.7332, allocations: 0 / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.7332, allocations: 5.219 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.7332, allocations: 1.562 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.7333, allocations: 127.5 kB / 0.9596 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7333, allocations: 0 / 0.9596 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001815/0.7335, allocations: 6.656 kB / 0.9596 GB, free: 3.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.742e-05/0.7336, allocations: 96.91 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.7336, allocations: 22.58 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7337, allocations: 0 / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.7337, allocations: 4.219 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.7338, allocations: 14.78 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.7341, allocations: 203 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.7342, allocations: 0.7031 MB / 0.9606 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.7343, allocations: 12.06 kB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.7343, allocations: 0 / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.002068/0.7363, allocations: 0.8526 MB / 0.9614 GB, free: 2.41 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches