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.002695/0.002695, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.003202/0.003202, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.167/3.167, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.362e-06/1.362e-06, allocations: 0 / 0.8108 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.647e-05, allocations: 3.578 kB / 0.8108 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002103/0.00213, allocations: 0.8135 MB / 0.8116 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.002269, allocations: 43.78 kB / 0.8117 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.002318, allocations: 1.719 kB / 0.8117 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.002357, allocations: 11.86 kB / 0.8117 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.002431, allocations: 7.938 kB / 0.8117 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.622e-05/0.002487, allocations: 11.98 kB / 0.8117 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.002617, allocations: 72.64 kB / 0.8118 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.002745, allocations: 31.91 kB / 0.8118 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.002843, allocations: 32.53 kB / 0.8118 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.002979, allocations: 23.91 kB / 0.8118 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003004, allocations: 5.406 kB / 0.8118 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.003015, allocations: 8 kB / 0.8119 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.003036, allocations: 11.94 kB / 0.8119 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.003072, allocations: 23.91 kB / 0.8119 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003211, allocations: 76.97 kB / 0.812 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003213, allocations: 0 / 0.812 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003214, allocations: 0 / 0.812 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.003219, allocations: 0.6875 kB / 0.812 GB, free: 0.793 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.0005456/0.003764, allocations: 408 kB / 0.8123 GB, free: 364 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.003804, allocations: 12.94 kB / 0.8124 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.003857, allocations: 16.89 kB / 0.8124 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.004066, allocations: 133.1 kB / 0.8125 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004077, allocations: 4.375 kB / 0.8125 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.004094, allocations: 17.03 kB / 0.8125 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.004273, allocations: 102.8 kB / 0.8126 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004281, allocations: 192 / 0.8126 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.004291, allocations: 4.375 kB / 0.8126 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.004296, allocations: 384 / 0.8126 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.004408, allocations: 46 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.005059, allocations: 470.4 kB / 0.8131 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.00515, allocations: 62.16 kB / 0.8132 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.005196, allocations: 28.38 kB / 0.8132 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.005206, allocations: 0 / 0.8132 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.00524, allocations: 37.39 kB / 0.8132 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.00524, allocations: 1.531 kB / 0.8132 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.005421, allocations: 53.58 kB / 0.8133 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.005484, allocations: 78.08 kB / 0.8134 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.005673, allocations: 197.8 kB / 0.8136 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.005691, allocations: 25.7 kB / 0.8136 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.005805, allocations: 159.4 kB / 0.8137 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.005818, allocations: 7.953 kB / 0.8137 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.005861, allocations: 24.41 kB / 0.8138 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.006116, allocations: 0.4884 MB / 0.8142 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.006135, allocations: 5.562 kB / 0.8142 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.006172, allocations: 27.31 kB / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.006229, allocations: 35.36 kB / 0.8143 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.00623, allocations: 0.5312 kB / 0.8143 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.753e-05/0.006328, allocations: 54.3 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006341, allocations: 4.531 kB / 0.8144 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006345, allocations: 4.75 kB / 0.8144 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006357, allocations: 0 / 0.8144 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.006417, allocations: 8.922 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.006424, allocations: 3.938 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.006454, allocations: 11.89 kB / 0.8144 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.006458, allocations: 4.359 kB / 0.8144 GB, free: 14.05 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.0001235/0.006582, allocations: 162 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.006623, allocations: 4 kB / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.006646, allocations: 7.469 kB / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006648, allocations: 5.281 kB / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006651, allocations: 0 / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006655, allocations: 3.938 kB / 0.8146 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.007163, allocations: 0.5583 MB / 0.8151 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007164, allocations: 0.75 kB / 0.8151 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.007195, allocations: 11.94 kB / 0.8151 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.007197, allocations: 1.562 kB / 0.8151 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.007205, allocations: 3.938 kB / 0.8151 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.007209, allocations: 3.984 kB / 0.8151 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00721, allocations: 4 kB / 0.8151 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007319, allocations: 81.02 kB / 0.8152 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.007345, allocations: 11.94 kB / 0.8152 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.007361, allocations: 9.281 kB / 0.8152 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.007379, allocations: 0 / 0.8152 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.007398, allocations: 4.094 kB / 0.8152 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.0074, allocations: 0 / 0.8152 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001133/0.007514, allocations: 140.8 kB / 0.8154 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007514, allocations: 4.5 kB / 0.8154 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001891/0.007703, allocations: 15.95 kB / 0.8154 GB, free: 12.95 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 0.0001175/0.00782, allocations: 101.1 kB / 0.8155 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.007916, allocations: 27.67 kB / 0.8155 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.007918, allocations: 0.875 kB / 0.8155 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.007942, allocations: 15.62 kB / 0.8155 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.00808, allocations: 7.469 kB / 0.8155 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.008447, allocations: 178.6 kB / 0.8157 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.008526, allocations: 75.19 kB / 0.8158 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.008552, allocations: 4 kB / 0.8158 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.00858, allocations: 13.12 kB / 0.8158 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.008581, allocations: 0.5 kB / 0.8158 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.002907/0.01149, allocations: 350.3 kB / 0.8161 GB, free: 12.14 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.23746732599102]