Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.0009862/0.0009862, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009288/0.0009288, allocations: 161.4 kB / 24.17 MB, free: 328 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 0.9542/0.9542, allocations: 177.1 MB / 204.6 MB, free: 5.469 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 1.831/1.831, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 4 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3.048e-05, allocations: 6.25 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001924/0.001954, allocations: 0.8206 MB / 0.7608 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000181/0.002135, allocations: 48.31 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.00219, allocations: 5.344 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.00223, allocations: 7.875 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.002337, allocations: 10.83 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.574e-05/0.002392, allocations: 20.62 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.002515, allocations: 64.83 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.002634, allocations: 33.02 kB / 0.761 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.002757, allocations: 46.14 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.002806, allocations: 20.88 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.002829, allocations: 8 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.002837, allocations: 4 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.002861, allocations: 8.766 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.002888, allocations: 15.94 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003003, allocations: 48.3 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003006, allocations: 4 kB / 0.7611 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003008, allocations: 0.9375 kB / 0.7611 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003011, allocations: 0 / 0.7611 GB, free: 5.484 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.0003562/0.003367, allocations: 290.4 kB / 0.7614 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.003406, allocations: 8.031 kB / 0.7614 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.003439, allocations: 8.938 kB / 0.7614 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.00359, allocations: 133.6 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.003603, allocations: 4.375 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.003618, allocations: 10.5 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.00373, allocations: 81.02 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.003739, allocations: 192 / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.003748, allocations: 4.375 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.003755, allocations: 384 / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.003792, allocations: 23.86 kB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.004247, allocations: 0.5025 MB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.00433, allocations: 169.1 kB / 0.7623 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.004359, allocations: 81.39 kB / 0.7624 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.004383, allocations: 75.28 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.004438, allocations: 117.9 kB / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.004439, allocations: 0 / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.438e-05/0.004503, allocations: 34.94 kB / 0.7626 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.004558, allocations: 126.7 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.004663, allocations: 140.2 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.004672, allocations: 26.45 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.004737, allocations: 123.8 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.004739, allocations: 0.5312 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.004778, allocations: 38.3 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.004871, allocations: 322.8 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.00488, allocations: 5.219 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.004924, allocations: 62.83 kB / 0.7634 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.004993, allocations: 65.5 kB / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.004996, allocations: 0 / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.005126, allocations: 79.73 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.00514, allocations: 4 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.005146, allocations: 0.6562 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.00516, allocations: 4 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.005222, allocations: 16.84 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005227, allocations: 4 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.005274, allocations: 10.59 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005278, allocations: 0 / 0.7636 GB, free: 2.742 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 0.0001017/0.00538, allocations: 197 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.00544, allocations: 108.9 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.005487, allocations: 108.8 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/0.005543, allocations: 188.2 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.0056, allocations: 176.3 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.701e-05/0.005667, allocations: 187.4 kB / 0.7645 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.00589, allocations: 333.3 kB / 0.7649 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.005924, allocations: 109 kB / 0.765 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.005959, allocations: 104.9 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.006168, allocations: 184.2 kB / 0.7652 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.00623, allocations: 180.3 kB / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.249e-05/0.006293, allocations: 184.2 kB / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.823e-05/0.006351, allocations: 176.3 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.006477, allocations: 313.4 kB / 0.7661 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.006542, allocations: 120.9 kB / 0.7662 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.006602, allocations: 176.3 kB / 0.7663 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.006694, allocations: 109.3 kB / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.006764, allocations: 184.2 kB / 0.7666 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.0068, allocations: 108.3 kB / 0.7667 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.006839, allocations: 31.06 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006839, allocations: 0 / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002395/0.007079, allocations: 11.95 kB / 0.7668 GB, free: 15.36 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.0001204/0.007199, allocations: 151.6 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.007276, allocations: 39.69 kB / 0.7669 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.007281, allocations: 0 / 0.7669 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.007282, allocations: 0 / 0.7669 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.007543, allocations: 463.6 kB / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.007803, allocations: 224 kB / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.007843, allocations: 55.36 kB / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.007884, allocations: 10.12 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.007918, allocations: 55.38 kB / 0.7677 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.007919, allocations: 1.281 kB / 0.7677 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.00234/0.01026, allocations: 336.8 kB / 0.768 GB, free: 14 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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: 4.953548222780228]