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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.687/1.687, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.166e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001449/0.001471, allocations: 0.779 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.54e-05/0.001566, allocations: 43.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.001607, allocations: 3.938 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.001641, allocations: 15.86 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.001712, allocations: 11.92 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.82e-05/0.00175, allocations: 15.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.001843, allocations: 63.78 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.001954, allocations: 35.95 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.002027, allocations: 31.92 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.002065, allocations: 19.91 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.002086, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002095, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.002111, allocations: 11.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.002136, allocations: 27.92 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.002235, allocations: 79.62 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002237, allocations: 3.938 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002238, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002242, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 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.000321/0.002563, allocations: 302 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.002602, allocations: 8.75 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.002635, allocations: 42.73 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.002657, allocations: 8.891 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.002805, allocations: 133.7 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.002813, allocations: 4.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.002823, allocations: 12.38 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.00308, allocations: 93.36 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.003087, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.003099, allocations: 8.375 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.003104, allocations: 4.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.003165, allocations: 39.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.003537, allocations: 391.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.00359, allocations: 37.25 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.003618, allocations: 21.78 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.003626, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.003646, allocations: 38.55 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003647, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.003775, allocations: 53.59 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.003807, allocations: 81.05 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.003905, allocations: 156.8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.003914, allocations: 29.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.003963, allocations: 108.3 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.003971, allocations: 15.83 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.003996, allocations: 17.72 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.004069, allocations: 322.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.00408, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.004102, allocations: 25.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.004133, allocations: 29.66 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004135, allocations: 3.938 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.583e-05/0.004191, allocations: 61.59 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.004202, allocations: 8.062 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004207, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.004218, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.004267, allocations: 15.92 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.004272, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.004289, allocations: 3.953 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.004294, allocations: 4 kB / 1.003 GB, free: 10.06 MB / 0.9636 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.479e-05/0.004348, allocations: 113.8 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.00437, allocations: 7.953 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004389, allocations: 11.8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004391, allocations: 8 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.004396, allocations: 3.938 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.004398, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.004652, allocations: 429.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.004654, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.004664, allocations: 7.938 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004666, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.004673, allocations: 4 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.004674, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.004676, allocations: 4.031 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.001e-05/0.004726, allocations: 82.77 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.004747, allocations: 19.84 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.004759, allocations: 4 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-06/0.004769, allocations: 0 / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.004781, allocations: 3.984 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.004783, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.004841, allocations: 121.5 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004841, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001202/0.004961, allocations: 11.94 kB / 1.004 GB, free: 9.156 MB / 0.9636 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.0002237/0.005184, allocations: 0.6171 MB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.005256, allocations: 19.94 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005257, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-06/0.005263, allocations: 4 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.005378, allocations: 14.17 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.006645, allocations: 1.342 MB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.709e-05/0.006702, allocations: 87.53 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.006737, allocations: 8.484 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.006785, allocations: 24.48 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.006786, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02179, allocations: 2.231 MB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.658, allocations: 7.625 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.569081477820873]