Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.88 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312/1.314, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002746/1.317, allocations: 0.8378 MB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/1.317, allocations: 48.28 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/1.317, allocations: 0.875 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/1.317, allocations: 10.12 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/1.317, allocations: 9.625 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.272e-05/1.317, allocations: 21.48 kB / 1.273 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/1.317, allocations: 58.12 kB / 1.273 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.318, allocations: 34.69 kB / 1.273 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/1.318, allocations: 26.2 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/1.318, allocations: 29.75 kB / 1.273 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/1.318, allocations: 9.969 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/1.318, allocations: 6.688 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/1.318, allocations: 16.31 kB / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/1.318, allocations: 37 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/1.318, allocations: 69.09 kB / 1.273 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.318, allocations: 0.875 kB / 1.273 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.318, allocations: 0 / 1.273 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.495e-06/1.318, allocations: 0 / 1.273 GB, free: 7.16 MB / 0.9981 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.000458/1.318, allocations: 380.3 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.319, allocations: 14.64 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/1.319, allocations: 17.22 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/1.319, allocations: 196.7 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.319, allocations: 3.031 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/1.319, allocations: 9.5 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.319, allocations: 93.19 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.319, allocations: 192 / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.319, allocations: 10.42 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.319, allocations: 2.5 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/1.319, allocations: 39.81 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/1.32, allocations: 438.7 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/1.32, allocations: 37.34 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/1.32, allocations: 19 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/1.32, allocations: 5.125 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.32, allocations: 36 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.32, allocations: 0 / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/1.32, allocations: 57.58 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.32, allocations: 78.2 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.32, allocations: 165.6 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/1.32, allocations: 25.7 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/1.32, allocations: 105.4 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.998e-06/1.32, allocations: 8.766 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/1.32, allocations: 17.69 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/1.32, allocations: 316.9 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/1.32, allocations: 3.797 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/1.32, allocations: 29.03 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/1.32, allocations: 26.61 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.32, allocations: 3.938 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.617e-05/1.32, allocations: 57.64 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.32, allocations: 8.781 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.32, allocations: 4.625 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.32, allocations: 0.7188 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/1.321, allocations: 13.56 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.321, allocations: 0.8438 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/1.321, allocations: 10.81 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/1.321, allocations: 0.8438 kB / 1.275 GB, free: 5.066 MB / 0.9981 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 5.531e-05/1.321, allocations: 118.9 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/1.321, allocations: 11.06 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/1.321, allocations: 16.64 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.321, allocations: 3.5 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.321, allocations: 0.8125 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.321, allocations: 4.75 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/1.321, allocations: 464.8 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.321, allocations: 1.031 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/1.321, allocations: 3.094 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.321, allocations: 2.281 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/1.321, allocations: 1.156 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.321, allocations: 0.625 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.321, allocations: 5.062 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/1.321, allocations: 83.97 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/1.321, allocations: 87.47 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.321, allocations: 0.9375 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/1.321, allocations: 0.9062 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.321, allocations: 4.906 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/1.321, allocations: 7.562 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.023e-05/1.321, allocations: 120.9 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.321, allocations: 0 / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001802/1.321, allocations: 7.25 kB / 1.276 GB, free: 4.152 MB / 0.9981 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.0001219/1.322, allocations: 96.44 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001037/1.322, allocations: 18.89 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.322, allocations: 0 / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/1.322, allocations: 10.06 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/1.322, allocations: 10.72 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/1.322, allocations: 175.1 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.322, allocations: 0.6954 MB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.197e-05/1.322, allocations: 10.05 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/1.322, allocations: 10.84 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.322, allocations: 0 / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.003085/1.325, allocations: 469.1 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.735708626918495]