Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 92 kB / 16.02 MB, free: 80 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.001379/0.001379, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.293 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.454/2.454, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7586, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009046/0.7595, allocations: 0.5383 MB / 0.9562 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.647e-05/0.7596, allocations: 40.84 kB / 0.9563 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.7597, allocations: 1.906 kB / 0.9563 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.7597, allocations: 7.875 kB / 0.9563 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.7598, allocations: 4.875 kB / 0.9563 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.195e-05/0.7599, allocations: 19.02 kB / 0.9563 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.76, allocations: 54.97 kB / 0.9564 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.7601, allocations: 34.62 kB / 0.9564 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.7601, allocations: 18.03 kB / 0.9564 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.7602, allocations: 27.45 kB / 0.9564 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.7602, allocations: 2.312 kB / 0.9564 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.7602, allocations: 1.094 kB / 0.9564 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.7602, allocations: 14.14 kB / 0.9565 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.7603, allocations: 51.09 kB / 0.9565 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.248e-05/0.7603, allocations: 47.98 kB / 0.9565 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7604, allocations: 4 kB / 0.9565 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7604, allocations: 0.875 kB / 0.9566 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.085e-06/0.7604, allocations: 0 / 0.9566 GB, free: 7.047 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.000287/0.7607, allocations: 366.2 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.7607, allocations: 9.031 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.7607, allocations: 14.03 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.7609, allocations: 193.7 kB / 0.9571 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.7609, allocations: 7.719 kB / 0.9571 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.7609, allocations: 5.594 kB / 0.9571 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.7611, allocations: 94.73 kB / 0.9572 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7611, allocations: 1.25 kB / 0.9572 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7611, allocations: 11.94 kB / 0.9572 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7611, allocations: 3.062 kB / 0.9572 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.7612, allocations: 39.06 kB / 0.9573 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.7616, allocations: 434.5 kB / 0.9577 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.7617, allocations: 45 kB / 0.9577 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.7617, allocations: 19.09 kB / 0.9577 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.7617, allocations: 1.062 kB / 0.9577 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.7617, allocations: 31.69 kB / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7617, allocations: 0 / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.7619, allocations: 62.59 kB / 0.9578 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.7619, allocations: 82.14 kB / 0.9579 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.7621, allocations: 163.9 kB / 0.9581 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.7621, allocations: 25.7 kB / 0.9581 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.7622, allocations: 105.4 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.7622, allocations: 9.062 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.7622, allocations: 9.719 kB / 0.9582 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.7623, allocations: 322.4 kB / 0.9585 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.7623, allocations: 6.25 kB / 0.9585 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.7623, allocations: 23.23 kB / 0.9585 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.7624, allocations: 21.78 kB / 0.9586 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7624, allocations: 1.125 kB / 0.9586 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.662e-05/0.7624, allocations: 62.44 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7625, allocations: 5.094 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7625, allocations: 9.25 kB / 0.9586 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7625, allocations: 1.375 kB / 0.9586 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.7626, allocations: 4.5 kB / 0.9586 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7626, allocations: 5.234 kB / 0.9586 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.7626, allocations: 10.19 kB / 0.9587 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.7626, allocations: 1.219 kB / 0.9587 GB, free: 4.887 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.656e-05/0.7627, allocations: 117.1 kB / 0.9588 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.7627, allocations: 8.531 kB / 0.9588 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.7628, allocations: 18.53 kB / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7628, allocations: 5.375 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7628, allocations: 3.938 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7628, allocations: 1.406 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.7631, allocations: 469.2 kB / 0.9593 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7631, allocations: 0.9688 kB / 0.9593 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.7631, allocations: 2.875 kB / 0.9593 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7631, allocations: 1 kB / 0.9593 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.7631, allocations: 9.188 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7631, allocations: 0.9688 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7631, allocations: 0 / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/0.7632, allocations: 78.67 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.7632, allocations: 88.02 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.7632, allocations: 1.406 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.7633, allocations: 13.22 kB / 0.9594 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.7633, allocations: 1.312 kB / 0.9594 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.7633, allocations: 3.984 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.7634, allocations: 116.8 kB / 0.9596 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7634, allocations: 0 / 0.9596 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001907/0.7636, allocations: 6.688 kB / 0.9596 GB, free: 3.938 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.214e-05/0.7637, allocations: 100.6 kB / 0.9597 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.7637, allocations: 18.56 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7638, allocations: 0 / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.7638, allocations: 8.875 kB / 0.9597 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.7639, allocations: 10.56 kB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.7642, allocations: 212.5 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.7643, allocations: 0.6907 MB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.7643, allocations: 12.03 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7643, allocations: 3.938 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.002033/0.7664, allocations: 0.8496 MB / 0.9614 GB, free: 2.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches