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.001352/0.001352, allocations: 93.06 kB / 19.65 MB, free: 280 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.001479/0.001479, allocations: 169 kB / 23.02 MB, free: 1.551 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.9908/0.9908, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 2.011/2.011, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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.714e-06/1.714e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.769e-05, allocations: 6 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.004824/0.004852, allocations: 0.8244 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.004975, allocations: 44.69 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.005021, allocations: 0 / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.00506, allocations: 12.7 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.005143, allocations: 15.86 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.616e-05/0.00519, allocations: 16.73 kB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.005293, allocations: 63.78 kB / 0.8791 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.005413, allocations: 36.95 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.005511, allocations: 35.91 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.005549, allocations: 17.17 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.005569, allocations: 4 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.005577, allocations: 4 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.005599, allocations: 23.86 kB / 0.8793 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.005625, allocations: 16.86 kB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.005722, allocations: 39.83 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005725, allocations: 1.031 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005726, allocations: 0 / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.005731, allocations: 0 / 0.8793 GB, free: 5.184 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.0003836/0.006115, allocations: 409.4 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006152, allocations: 8.031 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.006196, allocations: 20.83 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.006336, allocations: 137.6 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.006349, allocations: 8.375 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.00636, allocations: 4.375 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.006496, allocations: 90.59 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.006506, allocations: 4.172 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.006518, allocations: 5.094 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.006527, allocations: 4.375 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.00658, allocations: 32.42 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.01011, allocations: 0.7427 MB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.01021, allocations: 269.4 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.01025, allocations: 127 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.01029, allocations: 123.7 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.01034, allocations: 156.6 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.01034, allocations: 4.75 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.983e-05/0.01041, allocations: 29.66 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.01048, allocations: 183.6 kB / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01061, allocations: 196.3 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.01062, allocations: 25.7 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.01071, allocations: 175.2 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.01071, allocations: 5.328 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.01075, allocations: 31.33 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01087, allocations: 496.1 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.01089, allocations: 7.984 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.01094, allocations: 80.88 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.01103, allocations: 93.36 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01103, allocations: 1.062 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.01117, allocations: 75.56 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01119, allocations: 8 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.0112, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01121, allocations: 5.188 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.01128, allocations: 19.92 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.01129, allocations: 7.938 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.01132, allocations: 15.89 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.01133, allocations: 8.25 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.503e-05/0.01143, allocations: 279.6 kB / 0.883 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.01148, allocations: 152.8 kB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.01154, allocations: 160.7 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/0.0116, allocations: 268 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.454e-05/0.01167, allocations: 272 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.137e-05/0.01175, allocations: 272 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.01208, allocations: 0.5077 MB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/0.01212, allocations: 144.9 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.01215, allocations: 152.8 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/0.01221, allocations: 272.1 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.01227, allocations: 272 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-05/0.01233, allocations: 268.1 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.829e-05/0.01239, allocations: 264.1 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01252, allocations: 459.8 kB / 0.8864 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.01258, allocations: 160.8 kB / 0.8865 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.01265, allocations: 264.1 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.01271, allocations: 144.9 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.01278, allocations: 276.3 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003033/0.01581, allocations: 152.8 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.01588, allocations: 141.1 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01588, allocations: 4 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002384/0.01612, allocations: 8 kB / 0.8875 GB, free: 12.35 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.01626, allocations: 214.4 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01636, allocations: 39.58 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01636, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01636, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.01674, allocations: 0.7067 MB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.01706, allocations: 277.7 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.0171, allocations: 59.3 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.01714, allocations: 12.7 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.01716, allocations: 12.5 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.01716, allocations: 0 / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.005146/0.02231, allocations: 327.3 kB / 0.889 GB, free: 10.65 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153533111792058]