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.00113/0.00113, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.312 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.768/2.768, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004132, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8441, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001252/0.8454, allocations: 0.5112 MB / 0.9549 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.8456, allocations: 40.75 kB / 0.955 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.8457, allocations: 1.094 kB / 0.955 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.8457, allocations: 9.422 kB / 0.955 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.85e-05/0.8458, allocations: 7.938 kB / 0.955 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.239e-05/0.8459, allocations: 15.3 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.846, allocations: 54.56 kB / 0.9551 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.8462, allocations: 34.34 kB / 0.9551 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.8463, allocations: 16.47 kB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.8463, allocations: 16.52 kB / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.8464, allocations: 6 kB / 0.9551 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.8464, allocations: 1.125 kB / 0.9551 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.8464, allocations: 14.45 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.8465, allocations: 37.77 kB / 0.9552 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.8466, allocations: 50.06 kB / 0.9552 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.8466, allocations: 0 / 0.9552 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.178e-06/0.8466, allocations: 0 / 0.9552 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8466, allocations: 0 / 0.9552 GB, free: 7.148 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.0004525/0.8471, allocations: 368 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.8471, allocations: 17.44 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.8472, allocations: 20.48 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.8474, allocations: 190.2 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.8474, allocations: 2.156 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.8475, allocations: 9.406 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.8476, allocations: 89.3 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.8477, allocations: 0 / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8477, allocations: 1.562 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.8477, allocations: 6.688 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.8478, allocations: 42.06 kB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.8483, allocations: 434.3 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.8484, allocations: 45 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.8485, allocations: 15.47 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.8485, allocations: 0.9688 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.8485, allocations: 35.88 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.8485, allocations: 0 / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.8487, allocations: 54.41 kB / 0.9565 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.8488, allocations: 82.58 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.8489, allocations: 163.4 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.8489, allocations: 25.7 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.849, allocations: 108.5 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.849, allocations: 8.719 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.849, allocations: 0.9062 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.8491, allocations: 320.8 kB / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.8492, allocations: 15.48 kB / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.8492, allocations: 17.88 kB / 0.9572 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.8492, allocations: 8.844 kB / 0.9572 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8492, allocations: 5.125 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.448e-05/0.8493, allocations: 58.72 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.8494, allocations: 8.969 kB / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8494, allocations: 0 / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8494, allocations: 1.406 kB / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.8495, allocations: 13.19 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8495, allocations: 1.438 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.8495, allocations: 1.312 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.8496, allocations: 2.375 kB / 0.9573 GB, free: 5.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.8496, allocations: 116.6 kB / 0.9574 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.8497, allocations: 12.92 kB / 0.9574 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.8497, allocations: 10.41 kB / 0.9574 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8497, allocations: 5.047 kB / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8498, allocations: 0 / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.8498, allocations: 5.125 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.8501, allocations: 470 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8501, allocations: 1 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.8501, allocations: 2.938 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8501, allocations: 0.875 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.8502, allocations: 1.062 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8502, allocations: 3.984 kB / 0.9579 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8502, allocations: 5.094 kB / 0.9579 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.8503, allocations: 81.95 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.8503, allocations: 89.12 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8503, allocations: 1.25 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.8504, allocations: 0 / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.8504, allocations: 5.469 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.8504, allocations: 5.344 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.8505, allocations: 122.5 kB / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8505, allocations: 0 / 0.9582 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.8507, allocations: 15.45 kB / 0.9582 GB, free: 4.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/0.8509, allocations: 102.8 kB / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.851, allocations: 22.08 kB / 0.9583 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.851, allocations: 0 / 0.9583 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.851, allocations: 7.781 kB / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.8512, allocations: 7.438 kB / 0.9583 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.8516, allocations: 186.2 kB / 0.9585 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.8518, allocations: 0.6951 MB / 0.9592 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.8518, allocations: 4.438 kB / 0.9592 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.8519, allocations: 10.5 kB / 0.9592 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.8519, allocations: 1.031 kB / 0.9592 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.003125/0.855, allocations: 421.8 kB / 0.9596 GB, free: 2.84 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/jenkins/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