Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001148, allocations: 193.5 kB / 16.14 MB, free: 6.648 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.231/2.231, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5464, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001693/0.5481, allocations: 0.8809 MB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.777e-05/0.5482, allocations: 37.36 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.5483, allocations: 9.25 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.5483, allocations: 0 / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.5484, allocations: 13.3 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.951e-05/0.5484, allocations: 14.73 kB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.5485, allocations: 55.23 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.5486, allocations: 43.08 kB / 0.9501 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.5487, allocations: 20.12 kB / 0.9501 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.5487, allocations: 31.91 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5487, allocations: 4.125 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.5488, allocations: 4.125 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.5488, allocations: 10.69 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.5488, allocations: 34.67 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.148e-05/0.5489, allocations: 72.95 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5489, allocations: 1.375 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5489, allocations: 0 / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.5489, allocations: 3.938 kB / 0.9503 GB, free: 8.258 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.0002896/0.5492, allocations: 382.5 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5492, allocations: 9.625 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.5493, allocations: 37.5 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.5493, allocations: 8.969 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5494, allocations: 191.2 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5494, allocations: 11.12 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.5495, allocations: 9.875 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5496, allocations: 88.64 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5496, allocations: 3.938 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.5496, allocations: 5.375 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5496, allocations: 2.75 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.5497, allocations: 39.17 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5501, allocations: 440.7 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.567e-05/0.5501, allocations: 33.81 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.5501, allocations: 27.44 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.5502, allocations: 0 / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.5502, allocations: 31.97 kB / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5502, allocations: 0 / 0.9515 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.5504, allocations: 59.88 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.5504, allocations: 81.11 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.5505, allocations: 164.7 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.5505, allocations: 33.64 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.5506, allocations: 111.9 kB / 0.9519 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.5506, allocations: 5.406 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5506, allocations: 17.81 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.5506, allocations: 316.2 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.5507, allocations: 8.25 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.5507, allocations: 21.91 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.5507, allocations: 30.22 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5507, allocations: 4.953 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.854e-05/0.5508, allocations: 54.77 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5508, allocations: 8.719 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5508, allocations: 5.297 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5508, allocations: 1.25 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.5509, allocations: 9.125 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5509, allocations: 9.266 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.5509, allocations: 1.219 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.551, allocations: 1.406 kB / 0.9524 GB, free: 6.035 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 4.321e-05/0.551, allocations: 113.5 kB / 0.9525 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.5511, allocations: 11.59 kB / 0.9525 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.5511, allocations: 7.781 kB / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5511, allocations: 0 / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5511, allocations: 1.281 kB / 0.9525 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5511, allocations: 5.078 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.5514, allocations: 478.1 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5514, allocations: 96 / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.5515, allocations: 4.062 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5515, allocations: 3.984 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.5515, allocations: 1.281 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5515, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5515, allocations: 1.219 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.554e-05/0.5515, allocations: 90.27 kB / 0.9531 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.5516, allocations: 88.7 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.5516, allocations: 1.25 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.5516, allocations: 0 / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.5516, allocations: 5.391 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.5516, allocations: 5.531 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.5517, allocations: 120.5 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5517, allocations: 0 / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002232/0.5519, allocations: 11.53 kB / 0.9533 GB, free: 5.086 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 0.0002068/0.5522, allocations: 0.6228 MB / 0.9539 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.021e-05/0.5522, allocations: 18.61 kB / 0.954 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5522, allocations: 0 / 0.954 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.5523, allocations: 11.72 kB / 0.954 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.5524, allocations: 8.719 kB / 0.954 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.5532, allocations: 1.344 MB / 0.9553 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.873e-05/0.5533, allocations: 0.695 MB / 0.956 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.5533, allocations: 4.406 kB / 0.956 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.5534, allocations: 30.77 kB / 0.956 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5534, allocations: 0.9062 kB / 0.956 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.342/1.896, allocations: 1.405 MB / 0.9574 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.896, allocations: 220.5 kB / 0.9576 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/3.491, allocations: 0.9688 kB / 0.9576 GB, free: 1.48 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches