Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0007824/0.0007824, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001798, 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.000979/0.000979, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002195, 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.9798/0.9798, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09624/1.076, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.906/1.906, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5563/2.462, allocations: 123.3 MB / 0.728 GB, free: 5.832 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.321e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001238/0.001252, allocations: 0.9102 MB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.899e-05/0.001351, allocations: 63.66 kB / 0.7303 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.001393, allocations: 4 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.001424, allocations: 9.375 kB / 0.7303 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.001464, allocations: 19.25 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-05/0.001502, allocations: 19.98 kB / 0.7303 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.0016, allocations: 84.31 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.001698, allocations: 35.34 kB / 0.7304 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.001771, allocations: 59.97 kB / 0.7305 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.001819, allocations: 23.86 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.001837, allocations: 4 kB / 0.7305 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.001846, allocations: 9.719 kB / 0.7305 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.001865, allocations: 11.94 kB / 0.7306 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.001893, allocations: 23.94 kB / 0.7306 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.002018, allocations: 55.7 kB / 0.7306 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.002031, allocations: 1.062 kB / 0.7306 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002031, allocations: 0 / 0.7306 GB, free: 3.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.002046, allocations: 3.938 kB / 0.7306 GB, free: 3.246 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003233/0.002369, allocations: 313.4 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.002398, allocations: 12.03 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.002423, allocations: 8.938 kB / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.002553, allocations: 142.4 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.002564, allocations: 12.55 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.002572, allocations: 4.906 kB / 0.7311 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.002661, allocations: 97.3 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.002668, allocations: 0 / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.002675, allocations: 4 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.00268, allocations: 0.5 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.00271, allocations: 20.86 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.003106, allocations: 0.5243 MB / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.003162, allocations: 174.5 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.00318, allocations: 80.14 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.003197, allocations: 79.28 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.003226, allocations: 110.5 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.003228, allocations: 3.984 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.87e-05/0.003277, allocations: 30.39 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.003317, allocations: 130.6 kB / 0.7323 GB, free: 1.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.003404, allocations: 159.7 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.00341, allocations: 25.7 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.003461, allocations: 135.7 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.003466, allocations: 0 / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.00349, allocations: 21.72 kB / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.003556, allocations: 319.9 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-06/0.003563, allocations: 4 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.003589, allocations: 50.88 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.003638, allocations: 73.59 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00364, allocations: 1.812 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.156e-05/0.003721, allocations: 82.42 kB / 0.7331 GB, free: 464 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.003733, allocations: 8 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.003737, allocations: 0 / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.003748, allocations: 4.5 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.003795, allocations: 17.17 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.003799, allocations: 4 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.003959, allocations: 11.89 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.003963, allocations: 8.469 kB / 0.7332 GB, free: 412 kB / 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 6.369e-05/0.004027, allocations: 189.9 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.004059, allocations: 112.9 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.004103, allocations: 113.5 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.004137, allocations: 177.2 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.589e-05/0.004173, allocations: 192.1 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/0.00421, allocations: 180.2 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.004338, allocations: 334.4 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.004364, allocations: 104.9 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.004386, allocations: 105.6 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.004425, allocations: 120.8 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.619e-05/0.004462, allocations: 178 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.0045, allocations: 184.3 kB / 0.7351 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.554e-05/0.004535, allocations: 180.4 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-05/0.004571, allocations: 180.3 kB / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.004657, allocations: 307.8 kB / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.004706, allocations: 181.4 kB / 0.7359 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.00475, allocations: 108.9 kB / 0.736 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.004793, allocations: 188.2 kB / 0.7362 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.004816, allocations: 105.7 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.004841, allocations: 28.83 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.004841, allocations: 4.719 kB / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001268/0.004967, allocations: 11.94 kB / 0.7363 GB, free: 13.01 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 7.705e-05/0.005044, allocations: 154.2 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.005106, allocations: 32.78 kB / 0.7365 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.00511, allocations: 0.9688 kB / 0.7365 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.00511, allocations: 0 / 0.7365 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.005557, allocations: 463.7 kB / 0.737 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.005817, allocations: 257.2 kB / 0.7372 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.828e-05/0.005845, allocations: 59.34 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.005872, allocations: 13.05 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.0059, allocations: 55.38 kB / 0.7373 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.005901, allocations: 0 / 0.7373 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.001685/0.007585, allocations: 347.8 kB / 0.7377 GB, free: 11.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.972404506988823]