Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001488/0.001488, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001654/0.001654, allocations: 169.3 kB / 23.49 MB, free: 1.059 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.9918/0.9918, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.1/2.1, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.017e-05, allocations: 6.25 kB / 0.8782 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001497/0.001527, allocations: 0.8082 MB / 0.879 GB, free: 4.727 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.001638, allocations: 46.75 kB / 0.879 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.001686, allocations: 0 / 0.879 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.001719, allocations: 11.86 kB / 0.8791 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.001787, allocations: 3.938 kB / 0.8791 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.864e-05/0.001826, allocations: 23.92 kB / 0.8791 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.001914, allocations: 63.78 kB / 0.8791 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.002031, allocations: 43.89 kB / 0.8792 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.002096, allocations: 31.92 kB / 0.8792 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.002166, allocations: 26.61 kB / 0.8792 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.002186, allocations: 4 kB / 0.8792 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.002194, allocations: 8 kB / 0.8793 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.00221, allocations: 7.938 kB / 0.8793 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.002243, allocations: 19.92 kB / 0.8793 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.002334, allocations: 43.83 kB / 0.8793 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002336, allocations: 0 / 0.8793 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002337, allocations: 0.9375 kB / 0.8793 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002342, allocations: 0 / 0.8793 GB, free: 4.402 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.000355/0.002697, allocations: 413.9 kB / 0.8797 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.002735, allocations: 8.031 kB / 0.8797 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.002776, allocations: 12.89 kB / 0.8797 GB, free: 3.941 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.002933, allocations: 144.4 kB / 0.8799 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.002945, allocations: 9.875 kB / 0.8799 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.002957, allocations: 8.375 kB / 0.8799 GB, free: 3.758 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003075, allocations: 87.11 kB / 0.88 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.003083, allocations: 4.188 kB / 0.88 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.003095, allocations: 7.422 kB / 0.88 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.003103, allocations: 384 / 0.88 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.003152, allocations: 31.91 kB / 0.88 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.00357, allocations: 454.4 kB / 0.8805 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.885e-05/0.003619, allocations: 54.11 kB / 0.8805 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.003647, allocations: 27.5 kB / 0.8805 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.003654, allocations: 0.6562 kB / 0.8805 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.003676, allocations: 37.42 kB / 0.8806 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.003677, allocations: 1.656 kB / 0.8806 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.003809, allocations: 53.58 kB / 0.8806 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.003843, allocations: 78.45 kB / 0.8807 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.00394, allocations: 189.8 kB / 0.8809 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.003949, allocations: 25.7 kB / 0.8809 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.004011, allocations: 154.7 kB / 0.881 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.004021, allocations: 8.188 kB / 0.8811 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004049, allocations: 27.38 kB / 0.8811 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.004174, allocations: 0.4884 MB / 0.8816 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.004189, allocations: 3.984 kB / 0.8816 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.00421, allocations: 19.38 kB / 0.8816 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.004246, allocations: 31.31 kB / 0.8816 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004248, allocations: 0 / 0.8816 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.367e-05/0.004312, allocations: 53.64 kB / 0.8817 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.004328, allocations: 4.062 kB / 0.8817 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.004333, allocations: 12 kB / 0.8817 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.004345, allocations: 0 / 0.8817 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.0044, allocations: 7.938 kB / 0.8817 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.004407, allocations: 3.938 kB / 0.8817 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.004421, allocations: 7.938 kB / 0.8817 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004425, allocations: 0 / 0.8817 GB, free: 1.727 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 6.348e-05/0.004489, allocations: 164.6 kB / 0.8819 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.00451, allocations: 7.891 kB / 0.8819 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.004531, allocations: 7.469 kB / 0.8819 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004532, allocations: 0 / 0.8819 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.004535, allocations: 4 kB / 0.8819 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.00454, allocations: 7.938 kB / 0.8819 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.004803, allocations: 0.5422 MB / 0.8824 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004804, allocations: 0 / 0.8824 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.004816, allocations: 4 kB / 0.8824 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004818, allocations: 0 / 0.8824 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.004824, allocations: 3.938 kB / 0.8824 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.004825, allocations: 0 / 0.8824 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.004827, allocations: 4 kB / 0.8824 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.967e-05/0.004887, allocations: 92.08 kB / 0.8825 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.004904, allocations: 7.953 kB / 0.8825 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.004914, allocations: 7.938 kB / 0.8825 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.004923, allocations: 0 / 0.8825 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.004936, allocations: 3.984 kB / 0.8825 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.004937, allocations: 0 / 0.8825 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.004986, allocations: 141.8 kB / 0.8827 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.004986, allocations: 0 / 0.8827 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001245/0.00511, allocations: 8 kB / 0.8827 GB, free: 0.6406 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 7.885e-05/0.005189, allocations: 99.28 kB / 0.8828 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.005261, allocations: 23.62 kB / 0.8828 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005263, allocations: 0 / 0.8828 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.005274, allocations: 15.67 kB / 0.8828 GB, free: 500 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.005383, allocations: 4 kB / 0.8828 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.005645, allocations: 178.4 kB / 0.883 GB, free: 276 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.005678, allocations: 59.34 kB / 0.883 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.005706, allocations: 12.23 kB / 0.883 GB, free: 184 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.005729, allocations: 12.5 kB / 0.8831 GB, free: 172 kB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/0.00573, allocations: 0 / 0.8831 GB, free: 172 kB / 0.7917 GB Notification: Performance of Templates: time 0.001974/0.007704, allocations: 344.8 kB / 0.8834 GB, free: 15.83 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.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.488955239998177]