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.0008008/0.0008008, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001929, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007539/0.0007539, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008747/0.001629, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9695/0.9695, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.892/1.892, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5004/2.392, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 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.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 2.455e-06/2.455e-06, allocations: 0.9844 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.6e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00271/0.002736, allocations: 0.8579 MB / 0.7302 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000182/0.002918, allocations: 47.72 kB / 0.7302 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.002972, allocations: 0.5 kB / 0.7302 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.003016, allocations: 9.328 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.813e-05/0.003074, allocations: 18.28 kB / 0.7303 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-05/0.003128, allocations: 19.97 kB / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.00326, allocations: 57.27 kB / 0.7303 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.00339, allocations: 37.28 kB / 0.7304 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.003503, allocations: 49.8 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.003563, allocations: 16.86 kB / 0.7304 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.003588, allocations: 4 kB / 0.7304 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003597, allocations: 4.875 kB / 0.7304 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.003617, allocations: 11.94 kB / 0.7304 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.003653, allocations: 17.38 kB / 0.7305 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003774, allocations: 47.7 kB / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.915e-05/0.003793, allocations: 0 / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003794, allocations: 0 / 0.7305 GB, free: 3.363 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2e-05/0.003814, allocations: 0.6562 kB / 0.7305 GB, free: 3.363 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.0004406/0.004254, allocations: 284.3 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.004294, allocations: 12.72 kB / 0.7308 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.004331, allocations: 14.64 kB / 0.7308 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.004504, allocations: 141.5 kB / 0.7309 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.004518, allocations: 8.375 kB / 0.7309 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004531, allocations: 8.375 kB / 0.731 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.004664, allocations: 71.95 kB / 0.731 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.004673, allocations: 5 kB / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004683, allocations: 4.375 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.004692, allocations: 6.156 kB / 0.731 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.004743, allocations: 27.84 kB / 0.7311 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.005247, allocations: 0.501 MB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.005328, allocations: 169.3 kB / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.005354, allocations: 84.89 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.005376, allocations: 75.28 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.00542, allocations: 110.8 kB / 0.732 GB, free: 1.746 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.005421, allocations: 0 / 0.732 GB, free: 1.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.983e-05/0.005491, allocations: 33.7 kB / 0.732 GB, free: 1.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.005546, allocations: 127.6 kB / 0.7321 GB, free: 1.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.005671, allocations: 148.8 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.005681, allocations: 30.27 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.005747, allocations: 131.7 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.005755, allocations: 0.6875 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.005793, allocations: 27.42 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.005892, allocations: 322.8 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.005902, allocations: 4 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.005944, allocations: 50.86 kB / 0.7328 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.006017, allocations: 73.98 kB / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.006019, allocations: 0 / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001182/0.006137, allocations: 71.36 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.006154, allocations: 4 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006159, allocations: 5.031 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.006171, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.006238, allocations: 19.98 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.006243, allocations: 4.562 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.00628, allocations: 5.719 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006286, allocations: 4 kB / 0.733 GB, free: 0.6016 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 8.654e-05/0.006373, allocations: 193 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.006428, allocations: 105 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.006488, allocations: 126 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-05/0.006548, allocations: 176.3 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-05/0.006595, allocations: 176.3 kB / 0.7337 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/0.006647, allocations: 184.2 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.006825, allocations: 334.1 kB / 0.7342 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.006858, allocations: 112.9 kB / 0.7343 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.006888, allocations: 105.7 kB / 0.7344 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.006935, allocations: 108.9 kB / 0.7345 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.074e-05/0.006986, allocations: 181.5 kB / 0.7347 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.007035, allocations: 180.2 kB / 0.7349 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-05/0.007085, allocations: 184.2 kB / 0.7351 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.058e-05/0.007136, allocations: 177.4 kB / 0.7352 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007262, allocations: 319.7 kB / 0.7355 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.007324, allocations: 181 kB / 0.7357 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.007395, allocations: 108.9 kB / 0.7358 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.007458, allocations: 177.2 kB / 0.736 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.007488, allocations: 108.9 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.007527, allocations: 38.88 kB / 0.7361 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007527, allocations: 0.5312 kB / 0.7361 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00021/0.007737, allocations: 8.672 kB / 0.7361 GB, free: 13.21 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.0001197/0.007857, allocations: 156.6 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.007934, allocations: 26.09 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.007941, allocations: 4 kB / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.007942, allocations: 2.75 kB / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.008195, allocations: 467.6 kB / 0.7368 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.008476, allocations: 231.9 kB / 0.737 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.008515, allocations: 60.52 kB / 0.737 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.008557, allocations: 11.06 kB / 0.7371 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.008599, allocations: 51.38 kB / 0.7371 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.0086, allocations: 0 / 0.7371 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.002332/0.01093, allocations: 339 kB / 0.7374 GB, free: 11.85 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.955662214197218]