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.001469/0.001469, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 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.00173/0.00173, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.44/3.44, allocations: 429.6 MB / 0.673 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8776 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.022e-05, allocations: 6.312 kB / 0.8776 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002069/0.002099, allocations: 0.7824 MB / 0.8784 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.002245, allocations: 44.66 kB / 0.8784 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.002307, allocations: 4.938 kB / 0.8784 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.00235, allocations: 7.875 kB / 0.8784 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.002446, allocations: 13.39 kB / 0.8784 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.457e-05/0.00251, allocations: 18.14 kB / 0.8785 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.002654, allocations: 73.58 kB / 0.8785 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.002793, allocations: 21.58 kB / 0.8785 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.00291, allocations: 43.83 kB / 0.8786 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.002958, allocations: 23.91 kB / 0.8786 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.002985, allocations: 4 kB / 0.8786 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.002998, allocations: 9.5 kB / 0.8786 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.003021, allocations: 11.94 kB / 0.8786 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.003065, allocations: 23.91 kB / 0.8787 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.003212, allocations: 71.7 kB / 0.8787 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003214, allocations: 3.062 kB / 0.8787 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003215, allocations: 0 / 0.8787 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003219, allocations: 0 / 0.8787 GB, free: 4.238 MB / 0.7917 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.0005159/0.003735, allocations: 306 kB / 0.879 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.003776, allocations: 8.031 kB / 0.879 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.003834, allocations: 20.83 kB / 0.879 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.004057, allocations: 129.7 kB / 0.8792 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.004075, allocations: 8.375 kB / 0.8792 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.00409, allocations: 5.031 kB / 0.8792 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.004293, allocations: 103.7 kB / 0.8793 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.004305, allocations: 4.172 kB / 0.8793 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.004318, allocations: 4.375 kB / 0.8793 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004324, allocations: 384 / 0.8793 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.004413, allocations: 35.92 kB / 0.8793 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.005002, allocations: 365.8 kB / 0.8797 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.005075, allocations: 33.16 kB / 0.8797 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.005116, allocations: 21.84 kB / 0.8797 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.005126, allocations: 8.031 kB / 0.8797 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.005162, allocations: 34.5 kB / 0.8798 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.005163, allocations: 0 / 0.8798 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0002078/0.005371, allocations: 53.58 kB / 0.8798 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.005438, allocations: 81.11 kB / 0.8799 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.005595, allocations: 129.8 kB / 0.88 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.005617, allocations: 25.7 kB / 0.88 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.005726, allocations: 112.2 kB / 0.8801 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.005737, allocations: 11.95 kB / 0.8802 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.005775, allocations: 13.72 kB / 0.8802 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.005962, allocations: 318.8 kB / 0.8805 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.005982, allocations: 3.984 kB / 0.8805 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.00601, allocations: 21.72 kB / 0.8805 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.006058, allocations: 25.66 kB / 0.8805 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.00606, allocations: 0 / 0.8805 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.498e-05/0.006155, allocations: 57.64 kB / 0.8806 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.006173, allocations: 12.06 kB / 0.8806 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006178, allocations: 0 / 0.8806 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.006197, allocations: 3.938 kB / 0.8806 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.006263, allocations: 8 kB / 0.8806 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.006271, allocations: 3.938 kB / 0.8806 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.006293, allocations: 0 / 0.8806 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.006297, allocations: 0 / 0.8806 GB, free: 2.102 MB / 0.7917 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.55e-05/0.006393, allocations: 113.8 kB / 0.8807 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.006432, allocations: 7.953 kB / 0.8807 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.006462, allocations: 15.45 kB / 0.8807 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006463, allocations: 4 kB / 0.8807 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.006467, allocations: 0 / 0.8807 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.006472, allocations: 3.938 kB / 0.8807 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.006925, allocations: 418.4 kB / 0.8811 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006926, allocations: 0 / 0.8811 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.006946, allocations: 4 kB / 0.8811 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006948, allocations: 0 / 0.8811 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.006963, allocations: 7.938 kB / 0.8812 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006965, allocations: 0 / 0.8812 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006966, allocations: 0 / 0.8812 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.007075, allocations: 85.88 kB / 0.8812 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.007098, allocations: 8 kB / 0.8812 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.007114, allocations: 3.938 kB / 0.8812 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.007131, allocations: 0 / 0.8812 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.007151, allocations: 4 kB / 0.8813 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.007153, allocations: 0 / 0.8813 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.007249, allocations: 101.2 kB / 0.8813 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.007249, allocations: 0 / 0.8813 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001941/0.007443, allocations: 15.95 kB / 0.8814 GB, free: 1.25 MB / 0.7917 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.0001525/0.007596, allocations: 99.28 kB / 0.8815 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.0077, allocations: 15.94 kB / 0.8815 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007702, allocations: 0 / 0.8815 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.007714, allocations: 4 kB / 0.8815 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.00789, allocations: 8 kB / 0.8815 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.008309, allocations: 170.7 kB / 0.8816 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.008413, allocations: 79.58 kB / 0.8817 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.008459, allocations: 8.062 kB / 0.8817 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.008501, allocations: 12.5 kB / 0.8817 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of SimCode: time 3.61e-07/0.008502, allocations: 0 / 0.8817 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of Templates: time 0.003/0.0115, allocations: 351.5 kB / 0.8821 GB, free: 468 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 800] 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: 8.477956619928591]