Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001296/0.001296, allocations: 80.8 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.001104/0.001104, allocations: 161 kB / 24.16 MB, free: 336 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.9615/0.9615, allocations: 177.2 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.827/1.827, allocations: 377.9 MB / 0.624 GB, free: 8.32 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.946e-05, allocations: 6.75 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001969/0.001999, allocations: 0.8715 MB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.002228, allocations: 55.66 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.002309, allocations: 0.6562 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.002367, allocations: 13.27 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.002494, allocations: 18.17 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.195e-05/0.002576, allocations: 25.06 kB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.002743, allocations: 83.09 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.002925, allocations: 37.92 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.003069, allocations: 61.09 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.003139, allocations: 19.92 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.003174, allocations: 8 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.003185, allocations: 4.656 kB / 0.7612 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.003226, allocations: 23.91 kB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.003263, allocations: 17.06 kB / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.003415, allocations: 55.7 kB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.003418, allocations: 0 / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003419, allocations: 0.9688 kB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.003425, allocations: 3.938 kB / 0.7613 GB, free: 5.352 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004512/0.003877, allocations: 294 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.003923, allocations: 12.03 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.003965, allocations: 16.92 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.004131, allocations: 145.5 kB / 0.7617 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.004146, allocations: 5.812 kB / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004162, allocations: 8.375 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.00429, allocations: 96.34 kB / 0.7618 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.0043, allocations: 4.75 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.00431, allocations: 4 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004317, allocations: 0.5312 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.243e-05/0.004349, allocations: 16.81 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.004802, allocations: 0.5178 MB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.00488, allocations: 173 kB / 0.7625 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.004909, allocations: 80.14 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.004931, allocations: 80.5 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.00497, allocations: 105.8 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004971, allocations: 0 / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.761e-05/0.005028, allocations: 38.34 kB / 0.7628 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.005087, allocations: 126.7 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.005203, allocations: 160.7 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005214, allocations: 25.7 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.005279, allocations: 128.5 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.005281, allocations: 0 / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.005311, allocations: 23.8 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.005408, allocations: 326.8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.005416, allocations: 4 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.005454, allocations: 49.98 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.005516, allocations: 52.86 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.005519, allocations: 4 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.725e-05/0.005617, allocations: 72.73 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.00563, allocations: 8 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005635, allocations: 0 / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.005651, allocations: 4 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.005709, allocations: 11.94 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.005717, allocations: 7.984 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.005739, allocations: 7.938 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.005743, allocations: 3.031 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002962/0.006039, allocations: 189.1 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.006082, allocations: 112.9 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.006124, allocations: 112.8 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.00617, allocations: 180.3 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/0.00622, allocations: 184.2 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/0.006267, allocations: 176.3 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.006432, allocations: 345.3 kB / 0.765 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.006461, allocations: 106.6 kB / 0.7651 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.006489, allocations: 108.9 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.061e-05/0.006539, allocations: 184.2 kB / 0.7654 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.00659, allocations: 180.3 kB / 0.7656 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.586e-05/0.006646, allocations: 180.9 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.892e-05/0.006695, allocations: 184.9 kB / 0.7659 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.006822, allocations: 307.8 kB / 0.7662 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.006868, allocations: 113.6 kB / 0.7664 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.006926, allocations: 184.4 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.006975, allocations: 106 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.007028, allocations: 188.2 kB / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.007058, allocations: 107.5 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.007091, allocations: 32.69 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007091, allocations: 0 / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001398/0.007231, allocations: 15.89 kB / 0.767 GB, free: 15.18 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.0001021/0.007333, allocations: 151.7 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.007411, allocations: 39.89 kB / 0.7671 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.007415, allocations: 0 / 0.7671 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.007417, allocations: 3.938 kB / 0.7671 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.007624, allocations: 463.5 kB / 0.7676 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.007861, allocations: 252.2 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.007894, allocations: 59.34 kB / 0.7679 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.007924, allocations: 7.922 kB / 0.7679 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.007955, allocations: 55.38 kB / 0.7679 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.007955, allocations: 0 / 0.7679 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.001835/0.00979, allocations: 328.5 kB / 0.7683 GB, free: 13.8 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.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.9289545537903905]