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.00157/0.00157, 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.001625/0.001625, allocations: 165.3 kB / 23.02 MB, free: 1.555 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.078 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 2.104e-06/2.104e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.759e-05, allocations: 8.922 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001229/0.001246, allocations: 0.8237 MB / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.00135, allocations: 45.44 kB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.001389, allocations: 3.938 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.001422, allocations: 7.922 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.001491, allocations: 9.719 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.506e-05/0.001526, allocations: 15.98 kB / 0.8791 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.001609, allocations: 67.78 kB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.001717, allocations: 31.95 kB / 0.8792 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.001794, allocations: 38.62 kB / 0.8792 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.788e-05/0.001832, allocations: 19.91 kB / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.00185, allocations: 8 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.001857, allocations: 4 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.001877, allocations: 19.92 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.001902, allocations: 11.94 kB / 0.8793 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.001987, allocations: 43.83 kB / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001989, allocations: 0 / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.001989, allocations: 4.656 kB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.001993, allocations: 0 / 0.8793 GB, free: 5.223 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.0003183/0.002311, allocations: 409.9 kB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.002345, allocations: 11.97 kB / 0.8797 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.002382, allocations: 16.89 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.002517, allocations: 137.8 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.002527, allocations: 4.375 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.00254, allocations: 8.375 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.002646, allocations: 92.05 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.002654, allocations: 4.188 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.002664, allocations: 4.375 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.002672, allocations: 4.359 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.002713, allocations: 27.86 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.003081, allocations: 466.3 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.003137, allocations: 58.19 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.003168, allocations: 23.47 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.003175, allocations: 0 / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.003196, allocations: 37.39 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.003197, allocations: 4 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001226/0.003319, allocations: 45.62 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.003352, allocations: 77.11 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.003442, allocations: 193.1 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.003451, allocations: 25.7 kB / 0.8809 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.003513, allocations: 158.7 kB / 0.881 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.003522, allocations: 11.89 kB / 0.881 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.003549, allocations: 23.38 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.00365, allocations: 496.4 kB / 0.8815 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.003661, allocations: 8 kB / 0.8815 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.00368, allocations: 23.38 kB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.003709, allocations: 23.31 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003711, allocations: 4 kB / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.472e-05/0.003765, allocations: 53.58 kB / 0.8816 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.003777, allocations: 8 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.003783, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.003795, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.003845, allocations: 12.06 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.003853, allocations: 11.88 kB / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.003865, allocations: 0 / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.003869, allocations: 0 / 0.8817 GB, free: 2.543 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 6.024e-05/0.003929, allocations: 160.6 kB / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.003952, allocations: 8.047 kB / 0.8818 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.003975, allocations: 11.45 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.003977, allocations: 0 / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.003981, allocations: 4 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.003985, allocations: 3.938 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.004244, allocations: 0.5461 MB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004245, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.004255, allocations: 4 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004256, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.004262, allocations: 3.938 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004264, allocations: 4 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004265, allocations: 3.938 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.522e-05/0.004321, allocations: 88.08 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.004333, allocations: 3.953 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.004343, allocations: 16.03 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.00435, allocations: 0 / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.004363, allocations: 3.984 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.004367, allocations: 8 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.00441, allocations: 139.2 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00441, allocations: 4 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000121/0.004531, allocations: 7.938 kB / 0.8827 GB, free: 1.441 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 5.861e-05/0.004589, allocations: 95.25 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.004656, allocations: 27.67 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.004657, allocations: 4.062 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-06/0.004666, allocations: 11.69 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.004768, allocations: 8.625 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.005008, allocations: 166.7 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.005039, allocations: 63.34 kB / 0.883 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.005059, allocations: 3.984 kB / 0.883 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.005079, allocations: 12.5 kB / 0.883 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of SimCode: time 9.12e-07/0.00508, allocations: 0 / 0.883 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of Templates: time 0.001698/0.006779, allocations: 348.2 kB / 0.8834 GB, free: 0.6406 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.591492504347116]