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.000876/0.000876, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002084, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001036/0.001036, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.00252, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9919/0.9919, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.103, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.91/1.91, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5971/2.507, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 177] 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.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.623e-06/1.623e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.637e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00203/0.002056, allocations: 0.8784 MB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.774e-05/0.002154, allocations: 47.72 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.002197, allocations: 4 kB / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.002228, allocations: 8.531 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.002275, allocations: 12.22 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.343e-05/0.002318, allocations: 19.98 kB / 0.7306 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.002421, allocations: 53.06 kB / 0.7306 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.002539, allocations: 40.72 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.002624, allocations: 46.36 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.002674, allocations: 19.36 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.002694, allocations: 4.656 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.002702, allocations: 4 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.002739, allocations: 14.19 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.002766, allocations: 17.34 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.002865, allocations: 35.8 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.00288, allocations: 3.984 kB / 0.7308 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.002881, allocations: 0 / 0.7308 GB, free: 3.266 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.002889, allocations: 0.625 kB / 0.7308 GB, free: 3.266 MB / 0.698 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.0004103/0.003299, allocations: 289.1 kB / 0.7311 GB, free: 2.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.003345, allocations: 15.97 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.003381, allocations: 13.55 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.003551, allocations: 137.6 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003562, allocations: 9.281 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.003575, allocations: 4.375 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.003717, allocations: 85.95 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.003724, allocations: 192 / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.003735, allocations: 1.781 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.003742, allocations: 4.375 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.003781, allocations: 23.92 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.004495, allocations: 0.4977 MB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.005028, allocations: 174.8 kB / 0.732 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.005061, allocations: 80.14 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.005086, allocations: 79.27 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.005131, allocations: 109.8 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.514e-06/0.005133, allocations: 0.9688 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.094e-05/0.005214, allocations: 29.7 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.005276, allocations: 130.6 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.005408, allocations: 145.3 kB / 0.7326 GB, free: 1.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.005422, allocations: 27.3 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.005495, allocations: 131.7 kB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-06/0.005499, allocations: 0 / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.005542, allocations: 29.66 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.005678, allocations: 323.5 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.005689, allocations: 4 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.005728, allocations: 46.88 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.005804, allocations: 77.72 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.00581, allocations: 5.25 kB / 0.7332 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001197/0.00593, allocations: 75.27 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.005948, allocations: 8 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.005955, allocations: 0 / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.005971, allocations: 4.844 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.006044, allocations: 19.92 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.00605, allocations: 5.25 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.006079, allocations: 11.94 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006084, allocations: 4 kB / 0.7333 GB, free: 0.4922 MB / 0.698 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 7.252e-05/0.006157, allocations: 190 kB / 0.7335 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.006197, allocations: 109 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.006241, allocations: 117.3 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/0.006305, allocations: 180.3 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/0.006347, allocations: 185.4 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-05/0.006389, allocations: 180.2 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.006557, allocations: 329.4 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/0.006593, allocations: 109.7 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.006628, allocations: 101 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.006671, allocations: 118.1 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.211e-05/0.006713, allocations: 184.2 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.006755, allocations: 180.3 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-05/0.0068, allocations: 180.9 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.662e-05/0.006847, allocations: 176.5 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.006956, allocations: 317.1 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.007, allocations: 184.3 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.007048, allocations: 104.9 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.007091, allocations: 180.2 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.007123, allocations: 109.5 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.007151, allocations: 27.3 kB / 0.7364 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007151, allocations: 0 / 0.7364 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001343/0.007285, allocations: 16.7 kB / 0.7365 GB, free: 13.11 MB / 0.7136 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.0001054/0.007391, allocations: 153.5 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.007463, allocations: 30.12 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.007468, allocations: 0 / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.007474, allocations: 3.938 kB / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.007693, allocations: 476.8 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.00794, allocations: 235.9 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.007978, allocations: 63.5 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.008014, allocations: 4.734 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.008064, allocations: 51.38 kB / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.008064, allocations: 0 / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.001955/0.01002, allocations: 279.9 kB / 0.7377 GB, free: 11.8 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104212479665875]