Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.0009824/0.0009824, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001032/0.001032, allocations: 177 kB / 23.36 MB, free: 1.129 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.9649/0.9649, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.462/2.462, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.714e-05, allocations: 9.062 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00468/0.004697, allocations: 0.861 MB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.004827, allocations: 43.72 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.004874, allocations: 4 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.00491, allocations: 11.88 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.004984, allocations: 11.92 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.315e-05/0.005027, allocations: 15.98 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.005123, allocations: 63.77 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005227, allocations: 31.97 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.005333, allocations: 55.75 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.005369, allocations: 11.98 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.005385, allocations: 4 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.005392, allocations: 4 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.00541, allocations: 15.94 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.005435, allocations: 23.91 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8e-05/0.005515, allocations: 35.78 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005517, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.723e-06/0.005519, allocations: 3.984 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.005522, allocations: 0 / 0.8398 GB, free: 12.95 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.0002707/0.005793, allocations: 280.6 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.005825, allocations: 12.62 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.005852, allocations: 12.92 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.005977, allocations: 137.6 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.005985, allocations: 384 / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005995, allocations: 16.38 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.006089, allocations: 85.97 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006097, allocations: 192 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.006103, allocations: 384 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.00611, allocations: 4.375 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.006141, allocations: 19.92 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.006497, allocations: 0.501 MB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.006554, allocations: 173.3 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.006575, allocations: 84.14 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.006593, allocations: 75.28 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.006627, allocations: 109.8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.006628, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.321e-05/0.006681, allocations: 33.69 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.006722, allocations: 130.6 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.00694, allocations: 142.6 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.006947, allocations: 25.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.007001, allocations: 127.8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.007004, allocations: 3.984 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.007036, allocations: 25.67 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.007113, allocations: 322.8 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.007121, allocations: 11.98 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.007155, allocations: 58.84 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.01023, allocations: 66.73 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01024, allocations: 7.938 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.01034, allocations: 77.48 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01035, allocations: 4 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01036, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01037, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.01042, allocations: 12 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.01042, allocations: 3.984 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.01046, allocations: 7.938 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.01047, allocations: 8.25 kB / 0.8423 GB, free: 10.18 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 7.022e-05/0.01054, allocations: 197 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.01058, allocations: 105 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.01062, allocations: 112.7 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-05/0.01066, allocations: 180.3 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-05/0.0107, allocations: 180.3 kB / 0.843 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/0.01074, allocations: 184.2 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.0109, allocations: 337.3 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.01093, allocations: 104.9 kB / 0.8436 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.01095, allocations: 105 kB / 0.8437 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.136e-05/0.011, allocations: 188.2 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.01104, allocations: 176.3 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.06e-05/0.01108, allocations: 180.3 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.189e-05/0.01112, allocations: 184.4 kB / 0.8444 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.787e-05/0.01122, allocations: 319.7 kB / 0.8447 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.01125, allocations: 108.9 kB / 0.8448 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.0113, allocations: 180.2 kB / 0.845 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.01136, allocations: 104.9 kB / 0.8451 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.01141, allocations: 180.3 kB / 0.8453 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.01144, allocations: 108.9 kB / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.01146, allocations: 26.2 kB / 0.8454 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 4 kB / 0.8454 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002018/0.01167, allocations: 11.95 kB / 0.8454 GB, free: 6.789 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 8.085e-05/0.01175, allocations: 155.7 kB / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.546e-05/0.0118, allocations: 24.8 kB / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01181, allocations: 0 / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01181, allocations: 0 / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01204, allocations: 470.3 kB / 0.846 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.01225, allocations: 239.8 kB / 0.8463 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.01229, allocations: 59.34 kB / 0.8463 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.01231, allocations: 0.7344 kB / 0.8463 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.01234, allocations: 55.38 kB / 0.8464 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.01234, allocations: 0 / 0.8464 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of Templates: time 0.004959/0.0173, allocations: 340.8 kB / 0.8467 GB, free: 5.41 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.171942794229835]