Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0007592/0.0007592, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009926/0.001752, 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.0006974/0.0006974, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001602, 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.9759/0.9759, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09023/1.066, 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.951/1.951, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5459/2.497, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.709e-05, allocations: 11.23 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001813/0.00184, allocations: 0.907 MB / 0.7302 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/0.001954, allocations: 67.64 kB / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.001999, allocations: 0.5 kB / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.002032, allocations: 15.81 kB / 0.7303 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.00208, allocations: 16.12 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.122e-05/0.002122, allocations: 23.97 kB / 0.7303 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.002236, allocations: 80.42 kB / 0.7304 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.002353, allocations: 35.22 kB / 0.7305 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.002449, allocations: 56.92 kB / 0.7305 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.002504, allocations: 20.56 kB / 0.7305 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.002527, allocations: 8.531 kB / 0.7305 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.002537, allocations: 8 kB / 0.7305 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.002554, allocations: 12.88 kB / 0.7306 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.002582, allocations: 23.88 kB / 0.7306 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.002687, allocations: 52.59 kB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.038e-05/0.002707, allocations: 0 / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002708, allocations: 0 / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.002729, allocations: 5.375 kB / 0.7306 GB, free: 3.219 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.0004245/0.003154, allocations: 316.4 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.00319, allocations: 8.031 kB / 0.7309 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.003224, allocations: 13.58 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.003395, allocations: 145.5 kB / 0.7311 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.003411, allocations: 9.25 kB / 0.7311 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003425, allocations: 8.375 kB / 0.7311 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003551, allocations: 99.06 kB / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.003561, allocations: 0 / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.00357, allocations: 0 / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.00358, allocations: 4 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.003618, allocations: 20.94 kB / 0.7312 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.004052, allocations: 0.5166 MB / 0.7317 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.004132, allocations: 173.9 kB / 0.7319 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.004157, allocations: 80.14 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.00418, allocations: 76.16 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.004228, allocations: 122 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.004229, allocations: 0.875 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.185e-05/0.004291, allocations: 29.64 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.004351, allocations: 130.7 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.004458, allocations: 154.3 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.004468, allocations: 25.7 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.004531, allocations: 124.4 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.004539, allocations: 1.844 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004569, allocations: 33.64 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.004647, allocations: 310.8 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.004655, allocations: 7.984 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.004687, allocations: 49.94 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.601e-05/0.004743, allocations: 56.58 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.004747, allocations: 0.7188 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.89e-05/0.004846, allocations: 74.58 kB / 0.7331 GB, free: 472 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.00486, allocations: 5.031 kB / 0.7331 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.004867, allocations: 4 kB / 0.7331 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004877, allocations: 0.5 kB / 0.7331 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.004936, allocations: 19.98 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.004941, allocations: 5.781 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.004963, allocations: 3.938 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.004968, allocations: 4 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.281e-05/0.00505, allocations: 193 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.005096, allocations: 118.2 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.005157, allocations: 116.7 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/0.005206, allocations: 176.3 kB / 0.7337 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-05/0.005258, allocations: 178 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/0.005311, allocations: 192.2 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.005469, allocations: 329.4 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.005503, allocations: 108.9 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.005537, allocations: 105 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.005591, allocations: 121.6 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.597e-05/0.005647, allocations: 184.2 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.005701, allocations: 176.8 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.146e-05/0.005752, allocations: 181.2 kB / 0.7352 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.043e-05/0.005803, allocations: 184.3 kB / 0.7354 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.005916, allocations: 313.1 kB / 0.7357 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.005973, allocations: 180.2 kB / 0.7359 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.006023, allocations: 108.9 kB / 0.736 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.006078, allocations: 184.2 kB / 0.7362 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.006109, allocations: 105.8 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.006144, allocations: 32.83 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006144, allocations: 4.844 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001394/0.006284, allocations: 15.89 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 0.000106/0.00639, allocations: 152.5 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.006466, allocations: 26.03 kB / 0.7365 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.006471, allocations: 1.438 kB / 0.7365 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.006472, allocations: 0 / 0.7365 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.006674, allocations: 463.7 kB / 0.7369 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.006942, allocations: 265.5 kB / 0.7372 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.006979, allocations: 60.52 kB / 0.7373 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.007015, allocations: 8.719 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.007051, allocations: 53.59 kB / 0.7373 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.007051, allocations: 0 / 0.7373 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.001894/0.008945, allocations: 332.7 kB / 0.7376 GB, free: 11.64 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 5.03003023006022]