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.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.001898/0.001898, allocations: 88.72 kB / 19.44 MB, free: 356 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.002455/0.002455, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.346/3.346, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.677e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002186/0.002213, allocations: 0.796 MB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.002366, allocations: 39.78 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.002424, allocations: 4.656 kB / 0.8784 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.002469, allocations: 7.875 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.00257, allocations: 13.11 kB / 0.8784 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.061e-05/0.00263, allocations: 19.98 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.002766, allocations: 63.83 kB / 0.8785 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.0029, allocations: 24.92 kB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.002995, allocations: 35.91 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.003053, allocations: 19.34 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.003073, allocations: 8 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.003086, allocations: 8 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.00311, allocations: 15.92 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.003155, allocations: 23.91 kB / 0.8787 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.003297, allocations: 79.58 kB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003299, allocations: 4 kB / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.0033, allocations: 0 / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.003305, allocations: 0 / 0.8787 GB, free: 5.344 MB / 0.8386 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.0005055/0.00381, allocations: 306.6 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.003848, allocations: 9.344 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.003899, allocations: 12.89 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.004347, allocations: 133.7 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004359, allocations: 384 / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.004375, allocations: 17.84 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.004557, allocations: 83.95 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004566, allocations: 192 / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.004582, allocations: 8.375 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.004587, allocations: 4.375 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.004699, allocations: 47.84 kB / 0.8793 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.005293, allocations: 352.5 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.005379, allocations: 41.23 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.005424, allocations: 17.78 kB / 0.8797 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.005433, allocations: 0 / 0.8797 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.005474, allocations: 38.56 kB / 0.8798 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005475, allocations: 0 / 0.8798 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002253/0.0057, allocations: 61.58 kB / 0.8798 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.005767, allocations: 77.11 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.005918, allocations: 125.8 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.00594, allocations: 25.7 kB / 0.88 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.006045, allocations: 115.9 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.006056, allocations: 7.938 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.0061, allocations: 17.72 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.006281, allocations: 310.8 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.006302, allocations: 8 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.006339, allocations: 29.83 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.00639, allocations: 29.72 kB / 0.8805 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006392, allocations: 0 / 0.8805 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.006495, allocations: 57.58 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.006515, allocations: 10.5 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006521, allocations: 0 / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.00654, allocations: 0 / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.006618, allocations: 4 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.006628, allocations: 7.938 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.006656, allocations: 8.062 kB / 0.8806 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.00666, allocations: 0 / 0.8806 GB, free: 3.207 MB / 0.8386 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 0.0001065/0.006767, allocations: 113.8 kB / 0.8807 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.006811, allocations: 7.953 kB / 0.8807 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.006839, allocations: 11.45 kB / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006841, allocations: 0 / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006845, allocations: 0 / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.00685, allocations: 3.938 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.007318, allocations: 414.4 kB / 0.8811 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007319, allocations: 0 / 0.8811 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.007345, allocations: 12 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.007347, allocations: 0 / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.007355, allocations: 3.938 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007356, allocations: 0 / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007357, allocations: 4 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.007467, allocations: 77.94 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.007504, allocations: 7.953 kB / 0.8812 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.00752, allocations: 4.031 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.00754, allocations: 0 / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.007556, allocations: 3.984 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.007558, allocations: 8.031 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.522e-05/0.007653, allocations: 110.7 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007653, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002053/0.007858, allocations: 8 kB / 0.8814 GB, free: 2.359 MB / 0.8386 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.0001328/0.007991, allocations: 95.23 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.323e-05/0.008084, allocations: 16 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.008086, allocations: 0 / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.008101, allocations: 11.88 kB / 0.8815 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.008271, allocations: 12.25 kB / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.008682, allocations: 166 kB / 0.8817 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.008781, allocations: 79.88 kB / 0.8817 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.008815, allocations: 3.984 kB / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.008852, allocations: 12.5 kB / 0.8818 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.008853, allocations: 0 / 0.8818 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of Templates: time 0.003046/0.0119, allocations: 363.3 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.578435885021463]