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.001518/0.001518, 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.00131/0.00131, allocations: 173.3 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 1.016/1.016, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.028/2.028, 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_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.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.285e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002257/0.002289, allocations: 0.8269 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.002454, allocations: 48.31 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.00251, allocations: 1.031 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.002553, allocations: 7.875 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.00265, allocations: 17.33 kB / 0.8791 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.005761, allocations: 17.05 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.005907, allocations: 63.84 kB / 0.8791 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.006064, allocations: 27.97 kB / 0.8792 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.006192, allocations: 45.14 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.006239, allocations: 23.91 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.006262, allocations: 7.938 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.006271, allocations: 5.094 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.006294, allocations: 11.94 kB / 0.8793 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.006325, allocations: 16.62 kB / 0.8793 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.006457, allocations: 43.78 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.006462, allocations: 2.25 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.462e-06/0.006463, allocations: 0 / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.00647, allocations: 0 / 0.8793 GB, free: 5.195 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.0004531/0.006923, allocations: 408.2 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.00697, allocations: 8.031 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.007021, allocations: 12.89 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.007199, allocations: 145.5 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007217, allocations: 4.375 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.007232, allocations: 8.375 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.007392, allocations: 86.23 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007402, allocations: 4.953 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.007415, allocations: 384 / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.007426, allocations: 4.375 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.007484, allocations: 31.3 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.008098, allocations: 0.7413 MB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.008205, allocations: 273.4 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.008248, allocations: 131 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.008278, allocations: 119.2 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.008329, allocations: 152.6 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.00833, allocations: 0 / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.093e-05/0.008401, allocations: 34.25 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.008469, allocations: 178.5 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.01168, allocations: 201.9 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.01169, allocations: 29.64 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.01178, allocations: 178.5 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.01179, allocations: 0.5 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.01184, allocations: 40.84 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01198, allocations: 492.1 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.012, allocations: 11.92 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.01206, allocations: 73.5 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.01215, allocations: 93.38 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01215, allocations: 4 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/0.01233, allocations: 81.61 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01236, allocations: 8 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01236, allocations: 3.938 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01238, allocations: 4 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.01247, allocations: 12 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.01248, allocations: 11.92 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.01252, allocations: 3.953 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01252, allocations: 4 kB / 0.8828 GB, free: 1.367 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 0.0001107/0.01263, allocations: 287.8 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.0127, allocations: 156.8 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.01277, allocations: 164.7 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/0.01284, allocations: 268 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-05/0.01291, allocations: 276 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.62e-05/0.01301, allocations: 272 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.01325, allocations: 0.5038 MB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.006e-05/0.01329, allocations: 144.9 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.01332, allocations: 148.8 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.623e-05/0.0134, allocations: 268.1 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.01347, allocations: 276 kB / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.745e-05/0.01354, allocations: 268.1 kB / 0.8857 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-05/0.01361, allocations: 272 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.01376, allocations: 447.9 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.01383, allocations: 164.8 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.01391, allocations: 264.1 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.01398, allocations: 148.8 kB / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.01406, allocations: 268.4 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.0141, allocations: 152.8 kB / 0.8873 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.01418, allocations: 143.1 kB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01418, allocations: 0 / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003265/0.01744, allocations: 12 kB / 0.8875 GB, free: 12.36 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.0001508/0.01759, allocations: 222.4 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01771, allocations: 35.64 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01771, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.01772, 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.0003932/0.01811, allocations: 0.7039 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.0003487/0.01846, allocations: 269.7 kB / 0.8886 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.0185, allocations: 63.78 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01854, allocations: 12.72 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.01857, allocations: 12.5 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.01857, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.005472/0.02404, allocations: 328.4 kB / 0.889 GB, free: 10.66 MB / 0.8542 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.289209656883031]