Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009861/0.009861, allocations: 170 kB / 16.27 MB, free: 6.66 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.938/2.938, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003946, allocations: 11 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001057/0.3834, allocations: 0.5453 MB / 1.059 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.3836, allocations: 39.77 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.3836, allocations: 4 kB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.3837, allocations: 3.938 kB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.3838, allocations: 8 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.3838, allocations: 15.98 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3839, allocations: 67.69 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3841, allocations: 31.97 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.3842, allocations: 19.88 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.3842, allocations: 19.86 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3842, allocations: 0 / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.3843, allocations: 4 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.3843, allocations: 7.938 kB / 1.059 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.3844, allocations: 65.36 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3845, allocations: 60.05 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3845, allocations: 0 / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3845, allocations: 0 / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3845, allocations: 0 / 1.059 GB, free: 4.082 MB / 0.8106 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.0004597/0.385, allocations: 371.3 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.385, allocations: 8.031 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3851, allocations: 8.844 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3853, allocations: 188.2 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3853, allocations: 8.375 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3853, allocations: 8.375 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3855, allocations: 89.45 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3855, allocations: 8.172 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3855, allocations: 7.938 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3855, allocations: 7.938 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.3856, allocations: 35.92 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.3861, allocations: 444.6 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.3862, allocations: 41.19 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3863, allocations: 21.84 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3863, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3863, allocations: 34.55 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3863, allocations: 4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.3865, allocations: 61.42 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3865, allocations: 77.11 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3867, allocations: 163.7 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3867, allocations: 25.7 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3868, allocations: 111.9 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.3868, allocations: 0 / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.3868, allocations: 9.969 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3869, allocations: 326.8 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.3869, allocations: 4 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.387, allocations: 17.72 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.387, allocations: 33.64 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.387, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.189e-05/0.3871, allocations: 61.55 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3871, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3872, allocations: 3.938 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3872, allocations: 96 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.3872, allocations: 11.98 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3872, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.3873, allocations: 15.83 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 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 7.723e-05/0.3874, allocations: 113.8 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3874, allocations: 11.97 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.3875, allocations: 15.81 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3875, allocations: 3.984 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.3879, allocations: 470.8 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3879, allocations: 3.938 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.3879, allocations: 4.062 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3879, allocations: 4 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3879, allocations: 0 / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3879, allocations: 4 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3879, allocations: 3.938 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.47e-05/0.388, allocations: 77.83 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.3881, allocations: 89.02 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3881, allocations: 4.031 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.3881, allocations: 0 / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3882, allocations: 3.984 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3882, allocations: 4 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.134e-05/0.3883, allocations: 121.9 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 0 / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001901/0.3885, allocations: 7.906 kB / 1.062 GB, free: 0.6172 MB / 0.8106 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.0001385/0.3886, allocations: 103.2 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.736e-05/0.3887, allocations: 19.94 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3887, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.3887, allocations: 8 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3889, allocations: 7.938 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.3892, allocations: 184.8 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3895, allocations: 0.6926 MB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.3895, allocations: 8.422 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3895, allocations: 11.44 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3895, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.002588/0.3921, allocations: 424.6 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches