Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001065/0.001065, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001044/0.001044, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.038/1.038, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7601 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.324e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002414/0.002437, allocations: 0.8677 MB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.002612, allocations: 43.78 kB / 0.761 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.002672, allocations: 0 / 0.761 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.002715, allocations: 8.875 kB / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.002809, allocations: 17.95 kB / 0.761 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.002866, allocations: 21.98 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.002985, allocations: 61.38 kB / 0.7611 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.003106, allocations: 35.91 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003235, allocations: 51.33 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.003279, allocations: 11.92 kB / 0.7612 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003297, allocations: 4.75 kB / 0.7612 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.003306, allocations: 4 kB / 0.7612 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.003333, allocations: 24.66 kB / 0.7612 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.003358, allocations: 11.94 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.003466, allocations: 40.58 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003468, allocations: 0 / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00347, allocations: 2.188 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003474, allocations: 0 / 0.7612 GB, free: 5.477 MB / 0.7136 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.000591/0.004065, allocations: 276.7 kB / 0.7615 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004101, allocations: 12.03 kB / 0.7615 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.004134, allocations: 8.938 kB / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004289, allocations: 158.8 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.004302, allocations: 4.375 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.004313, allocations: 12.38 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.004429, allocations: 75.92 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.004439, allocations: 1.438 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.004447, allocations: 4.375 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.004455, allocations: 4.375 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.004493, allocations: 23.86 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.004928, allocations: 0.4906 MB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.005003, allocations: 177.3 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.005028, allocations: 83.23 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.005055, allocations: 79.28 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.005096, allocations: 105.8 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.005097, allocations: 0 / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.724e-05/0.005165, allocations: 33.69 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.005212, allocations: 126.7 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.005329, allocations: 148.1 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005339, allocations: 25.7 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.005404, allocations: 130.5 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.005406, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.005446, allocations: 37.58 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.005536, allocations: 314.8 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.005547, allocations: 4 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.005592, allocations: 58.88 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.502e-05/0.005667, allocations: 73.2 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005669, allocations: 3.062 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.005795, allocations: 73.48 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.005812, allocations: 8 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.005818, allocations: 0 / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.005835, allocations: 7.125 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.005899, allocations: 16 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.005903, allocations: 0 / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.005941, allocations: 11.88 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.005947, allocations: 4 kB / 0.7637 GB, free: 2.715 MB / 0.7136 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 9.149e-05/0.006039, allocations: 201 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.006097, allocations: 105 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.006144, allocations: 104.8 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/0.0062, allocations: 190 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-05/0.006255, allocations: 176.3 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/0.006301, allocations: 184.2 kB / 0.7646 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.006433, allocations: 333.4 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.006458, allocations: 104.9 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.006483, allocations: 101.8 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/0.006524, allocations: 184.2 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.006565, allocations: 182.6 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.886e-05/0.006604, allocations: 180.3 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-05/0.006646, allocations: 180.2 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.272e-05/0.006739, allocations: 311.8 kB / 0.7661 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.006795, allocations: 120.9 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.006841, allocations: 176.3 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.006889, allocations: 112 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.006935, allocations: 180.3 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.006961, allocations: 105 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.574e-05/0.006987, allocations: 27.08 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006987, allocations: 0 / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001348/0.007122, allocations: 19.83 kB / 0.7669 GB, free: 15.34 MB / 0.7292 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.0001135/0.007235, allocations: 157.2 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.007301, allocations: 32.78 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.007304, allocations: 1.281 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.007306, allocations: 4 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.007514, allocations: 459.6 kB / 0.7675 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.00773, allocations: 228.5 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.007763, allocations: 56.2 kB / 0.7678 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.007801, allocations: 13.64 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.007832, allocations: 56.12 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.007832, allocations: 0 / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.001781/0.009613, allocations: 342.2 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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.210921156220138]