Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001045/0.001045, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001198/0.001198, allocations: 173 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.9572/0.9572, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.045/2.045, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.019e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002113/0.002143, allocations: 0.8233 MB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.00227, allocations: 39.78 kB / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.002322, allocations: 5.875 kB / 0.879 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.002358, allocations: 7.875 kB / 0.8791 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.002446, allocations: 15.86 kB / 0.8791 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.487e-05/0.00249, allocations: 15.98 kB / 0.8791 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.002587, allocations: 63.83 kB / 0.8791 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.002717, allocations: 29 kB / 0.8792 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.002816, allocations: 39.84 kB / 0.8792 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.002864, allocations: 20.98 kB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.002888, allocations: 4 kB / 0.8792 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.002897, allocations: 8 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.002919, allocations: 17 kB / 0.8793 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.002953, allocations: 19.94 kB / 0.8793 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003069, allocations: 47.75 kB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.003072, allocations: 1.125 kB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003074, allocations: 0 / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.00308, allocations: 4 kB / 0.8793 GB, free: 5.516 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.0004456/0.003526, allocations: 401.3 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.003571, allocations: 12.03 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.003615, allocations: 14.55 kB / 0.8797 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.0038, allocations: 140.4 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.00381, allocations: 384 / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.003824, allocations: 12.38 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.003969, allocations: 92.53 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003978, allocations: 2.062 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.003989, allocations: 384 / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.003999, allocations: 4.375 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.00405, allocations: 31.86 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.004552, allocations: 459.6 kB / 0.8804 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.004624, allocations: 62.25 kB / 0.8805 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.004666, allocations: 20.5 kB / 0.8805 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.004677, allocations: 4 kB / 0.8805 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.004711, allocations: 33.39 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.004713, allocations: 0.6562 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/0.004915, allocations: 51.22 kB / 0.8806 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.004964, allocations: 77.11 kB / 0.8807 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.005097, allocations: 193 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005107, allocations: 32.17 kB / 0.8809 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.005198, allocations: 154.7 kB / 0.881 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.005208, allocations: 11.89 kB / 0.8811 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.005242, allocations: 19.38 kB / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.005366, allocations: 0.4923 MB / 0.8816 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.005381, allocations: 0 / 0.8816 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.005405, allocations: 19.38 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.005447, allocations: 33.42 kB / 0.8816 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.00545, allocations: 0 / 0.8816 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.663e-05/0.005517, allocations: 53.59 kB / 0.8817 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.005533, allocations: 4.719 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.005538, allocations: 0 / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.005553, allocations: 5.188 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.005615, allocations: 7.984 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.005624, allocations: 3.938 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.005764, allocations: 4.312 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.00577, allocations: 8 kB / 0.8817 GB, free: 2.859 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 8.725e-05/0.005857, allocations: 160.5 kB / 0.8818 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.005883, allocations: 7.953 kB / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.005917, allocations: 11.47 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.00592, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.005925, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.00593, allocations: 7.875 kB / 0.8819 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.006274, allocations: 0.5422 MB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006276, allocations: 0 / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.006295, allocations: 8.062 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.006298, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.006309, allocations: 7.922 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006311, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.006313, allocations: 96 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.00639, allocations: 92.02 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.006413, allocations: 15.94 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.006424, allocations: 3.938 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.006432, allocations: 0 / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.00645, allocations: 4 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006453, allocations: 4.031 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.698e-05/0.00652, allocations: 139.2 kB / 0.8827 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00652, allocations: 0 / 0.8827 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001444/0.006665, allocations: 15.94 kB / 0.8827 GB, free: 1.758 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.0001119/0.006777, allocations: 91.25 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.006878, allocations: 27.61 kB / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.00688, allocations: 0 / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.006888, allocations: 7.688 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.00703, allocations: 13.28 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.007374, allocations: 170.7 kB / 0.883 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.007419, allocations: 59.34 kB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.007451, allocations: 4 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.007481, allocations: 8.5 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.007482, allocations: 0 / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of Templates: time 0.002158/0.00964, allocations: 356.9 kB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.298944776179269]