Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001472/0.001472, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001763/0.001763, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.074/1.074, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.985/1.985, allocations: 377.8 MB / 0.6236 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.517e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.004944/0.004969, allocations: 0.826 MB / 0.8123 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.005074, allocations: 45.47 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.005113, allocations: 0 / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.005143, allocations: 7.875 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.0052, allocations: 11.86 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.22e-05/0.005242, allocations: 19.98 kB / 0.8124 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.005319, allocations: 61.38 kB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.00541, allocations: 27.97 kB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.005467, allocations: 35.91 kB / 0.8125 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.0055, allocations: 15.91 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.005517, allocations: 9.094 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.005524, allocations: 4 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.005543, allocations: 19.92 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.005567, allocations: 21.52 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.005647, allocations: 47.7 kB / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005649, allocations: 0 / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00565, allocations: 0 / 0.8127 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.005654, allocations: 2.406 kB / 0.8127 GB, free: 0.5898 MB / 0.7605 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.0002985/0.005952, allocations: 408.3 kB / 0.813 GB, free: 156 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.005983, allocations: 12.03 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.006012, allocations: 12.89 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.006154, allocations: 136.6 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006165, allocations: 12.31 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.006176, allocations: 4.906 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.006286, allocations: 90.08 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006293, allocations: 192 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.006302, allocations: 4.906 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006309, allocations: 5.969 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.006359, allocations: 35.8 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.006729, allocations: 450.4 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.008916, allocations: 58.16 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.00896, allocations: 28.8 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.008967, allocations: 3.984 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.00899, allocations: 38.08 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.008991, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.009106, allocations: 47.78 kB / 0.8139 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.00914, allocations: 81.11 kB / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.00923, allocations: 185.8 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.009238, allocations: 25.7 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.009296, allocations: 160.4 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.009301, allocations: 7.891 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.009331, allocations: 27.36 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.009468, allocations: 496.1 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.009476, allocations: 7.938 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.009494, allocations: 28.17 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.009522, allocations: 29.59 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009523, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.893e-05/0.009572, allocations: 53.59 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.009581, allocations: 4 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.009583, allocations: 3.156 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.009593, allocations: 3.984 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.009629, allocations: 8 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.009633, allocations: 3.938 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.009646, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-06/0.00965, allocations: 4 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001104/0.009761, allocations: 152.6 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.009787, allocations: 8 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.009812, allocations: 8.688 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.009815, allocations: 3.984 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.403e-06/0.009822, allocations: 7.938 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.009826, allocations: 4.562 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.01008, allocations: 0.5427 MB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.01009, allocations: 4.875 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.01009, allocations: 7.922 kB / 0.8157 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0101, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.0101, allocations: 5 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.0101, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0101, allocations: 0.8125 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.606e-05/0.01016, allocations: 80.09 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.01017, allocations: 12.92 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.01018, allocations: 3.938 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-06/0.01019, allocations: 1.219 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.01021, allocations: 4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-06/0.01021, allocations: 3.938 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.01025, allocations: 139.2 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 0.8125 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001228/0.01038, allocations: 15.89 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.1e-05/0.01046, allocations: 96.39 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.01052, allocations: 24.69 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01053, allocations: 3.938 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-06/0.01054, allocations: 16.72 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.01065, allocations: 6.5 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.01091, allocations: 172.3 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.01095, allocations: 59.34 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.01098, allocations: 4.969 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.011, allocations: 9.156 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.011, allocations: 5.312 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.001916/0.01292, allocations: 348 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.515129801817238]