Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001242/0.001242, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.01153/0.01153, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.219/3.219, allocations: 483.2 MB / 0.7564 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 9.531 kB / 0.9276 GB, free: 29.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4287, allocations: 164.5 MB / 1.088 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001217/0.43, allocations: 0.5445 MB / 1.089 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.4301, allocations: 35.8 kB / 1.089 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.4301, allocations: 4 kB / 1.089 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.4302, allocations: 7.938 kB / 1.089 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.4303, allocations: 7.969 kB / 1.089 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.621e-05/0.4303, allocations: 12 kB / 1.089 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.4304, allocations: 59.78 kB / 1.089 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4306, allocations: 39.97 kB / 1.089 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.4307, allocations: 23.86 kB / 1.089 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.4307, allocations: 11.88 kB / 1.089 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4308, allocations: 0 / 1.089 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.4308, allocations: 0 / 1.089 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.4308, allocations: 15.92 kB / 1.089 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.4309, allocations: 45.52 kB / 1.089 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.431, allocations: 75.91 kB / 1.089 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.431, allocations: 0 / 1.089 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.431, allocations: 0 / 1.089 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.431, allocations: 0 / 1.089 GB, free: 9.395 MB / 0.8419 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.0004823/0.4315, allocations: 371.3 kB / 1.089 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4316, allocations: 12.03 kB / 1.089 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.4316, allocations: 8.844 kB / 1.089 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4319, allocations: 184.2 kB / 1.09 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4319, allocations: 4.375 kB / 1.09 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.4319, allocations: 8.375 kB / 1.09 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4321, allocations: 107.8 kB / 1.09 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4321, allocations: 192 / 1.09 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4321, allocations: 7.875 kB / 1.09 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4321, allocations: 4 kB / 1.09 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.4322, allocations: 39.92 kB / 1.09 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.4329, allocations: 440.5 kB / 1.09 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.433, allocations: 41.22 kB / 1.09 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.433, allocations: 21.8 kB / 1.09 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.433, allocations: 4 kB / 1.09 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4331, allocations: 34.56 kB / 1.09 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4331, allocations: 4 kB / 1.09 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.4333, allocations: 53.48 kB / 1.09 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4334, allocations: 77.11 kB / 1.09 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4335, allocations: 164.3 kB / 1.091 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4336, allocations: 25.7 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.4337, allocations: 108 kB / 1.091 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.4337, allocations: 3.906 kB / 1.091 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.4337, allocations: 13.97 kB / 1.091 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4339, allocations: 322.8 kB / 1.091 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.4339, allocations: 8 kB / 1.091 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.4339, allocations: 25.69 kB / 1.091 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.434, allocations: 25.66 kB / 1.091 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.434, allocations: 0 / 1.091 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.4341, allocations: 61.55 kB / 1.091 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4341, allocations: 11.98 kB / 1.091 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4342, allocations: 3.938 kB / 1.091 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4342, allocations: 0 / 1.091 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.4342, allocations: 4 kB / 1.091 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4343, allocations: 4 kB / 1.091 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.4343, allocations: 3.938 kB / 1.091 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4343, allocations: 4 kB / 1.091 GB, free: 6.961 MB / 0.8419 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 9.509e-05/0.4344, allocations: 109.8 kB / 1.091 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.4345, allocations: 15.88 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.4345, allocations: 15.8 kB / 1.091 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4345, allocations: 0 / 1.091 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4345, allocations: 4 kB / 1.091 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4345, allocations: 0 / 1.091 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.435, allocations: 470.8 kB / 1.092 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.435, allocations: 0 / 1.092 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.435, allocations: 8.062 kB / 1.092 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.435, allocations: 3.938 kB / 1.092 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.435, allocations: 4 kB / 1.092 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.435, allocations: 3.938 kB / 1.092 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4351, allocations: 0 / 1.092 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.4352, allocations: 89.77 kB / 1.092 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.4352, allocations: 85 kB / 1.092 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4353, allocations: 8.031 kB / 1.092 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.4353, allocations: 0 / 1.092 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.4353, allocations: 0 / 1.092 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4353, allocations: 0 / 1.092 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001031/0.4354, allocations: 121.9 kB / 1.092 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4354, allocations: 0 / 1.092 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001886/0.4356, allocations: 12 kB / 1.092 GB, free: 5.918 MB / 0.8419 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 0.0001374/0.4357, allocations: 95.25 kB / 1.092 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.4358, allocations: 23.94 kB / 1.092 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4359, allocations: 0 / 1.092 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.4359, allocations: 7.984 kB / 1.092 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.436, allocations: 11.94 kB / 1.092 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4364, allocations: 180.8 kB / 1.092 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4368, allocations: 0.6926 MB / 1.093 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.4368, allocations: 12.42 kB / 1.093 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.4368, allocations: 7.438 kB / 1.093 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.4369, allocations: 8 kB / 1.093 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.003141/0.44, allocations: 424.6 kB / 1.094 GB, free: 4.398 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches