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.0009285/0.0009285, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001035/0.001035, allocations: 181 kB / 23.36 MB, free: 1.133 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.9623/0.9623, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.58/2.58, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.734e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001529/0.001546, allocations: 0.8649 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.001689, allocations: 43.72 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.001745, allocations: 4 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.001783, allocations: 7.875 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.001861, allocations: 11.92 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.857e-05/0.00191, allocations: 15.98 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.002005, allocations: 63.78 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.002119, allocations: 35.95 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.002219, allocations: 43.84 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.002261, allocations: 19.91 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.002279, allocations: 4 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.002287, allocations: 8 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.002311, allocations: 11.92 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.002336, allocations: 19.92 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.002426, allocations: 35.83 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.002429, allocations: 7.938 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.00243, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.002434, allocations: 4 kB / 0.8398 GB, free: 12.98 MB / 0.8073 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.0002839/0.002718, allocations: 284.5 kB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.00275, allocations: 12.56 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.002776, allocations: 12.94 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.002901, allocations: 133.7 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.00291, allocations: 4.375 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.002919, allocations: 8.375 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.003009, allocations: 85.81 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003017, allocations: 192 / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.003023, allocations: 384 / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.00303, allocations: 4.375 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.003056, allocations: 23.92 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.003385, allocations: 0.501 MB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.003442, allocations: 177.3 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.003465, allocations: 80.14 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.003484, allocations: 75.28 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.003517, allocations: 105.8 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.003517, allocations: 4 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.509e-05/0.003572, allocations: 33.62 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.003613, allocations: 126.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.003693, allocations: 148.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.0037, allocations: 25.7 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.003749, allocations: 127.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.003751, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.003778, allocations: 29.66 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.003852, allocations: 322.8 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.003858, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.003893, allocations: 66.83 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.00395, allocations: 66.73 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003952, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.221e-05/0.004034, allocations: 77.42 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004046, allocations: 12.25 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004051, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.004064, allocations: 8 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/0.004105, allocations: 12 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.004109, allocations: 4 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.00413, allocations: 7.875 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004134, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 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 6.661e-05/0.004201, allocations: 197 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.004239, allocations: 105 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.004275, allocations: 112.7 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.004318, allocations: 184.2 kB / 0.8428 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/0.004362, allocations: 184.2 kB / 0.843 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/0.004402, allocations: 180.3 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.004539, allocations: 333.3 kB / 0.8435 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.004564, allocations: 104.9 kB / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.004592, allocations: 105 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/0.004642, allocations: 184.2 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.004685, allocations: 176.3 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.819e-05/0.004724, allocations: 180.3 kB / 0.8442 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.136e-05/0.004765, allocations: 184.4 kB / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.00486, allocations: 323.7 kB / 0.8447 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.004895, allocations: 112.9 kB / 0.8448 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.00494, allocations: 176.3 kB / 0.845 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.004988, allocations: 108.9 kB / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.00503, allocations: 180.3 kB / 0.8453 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.005054, allocations: 108.9 kB / 0.8454 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.005077, allocations: 30.03 kB / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005077, allocations: 0 / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001328/0.005209, allocations: 7.953 kB / 0.8454 GB, free: 6.824 MB / 0.8073 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 7.36e-05/0.005283, allocations: 151.7 kB / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.005337, allocations: 32.78 kB / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.00534, allocations: 0 / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.005342, allocations: 4 kB / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.005548, allocations: 470.1 kB / 0.846 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.005742, allocations: 227.9 kB / 0.8463 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.005772, allocations: 59.3 kB / 0.8463 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.0058, allocations: 13.22 kB / 0.8463 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.005827, allocations: 51.38 kB / 0.8464 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.005827, allocations: 0 / 0.8464 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of Templates: time 0.001644/0.007471, allocations: 347 kB / 0.8467 GB, free: 5.441 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 -s gbode -gbm=radauIIA3 -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.391235067974776]