Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001319/0.001319, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001453/0.001453, allocations: 222.9 kB / 23 MB, free: 4.91 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 65.75 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002221/0.3462, allocations: 0.839 MB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001358/0.3463, allocations: 59.81 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.3464, allocations: 0 / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.3464, allocations: 15.8 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.3465, allocations: 7.875 kB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.311e-05/0.3466, allocations: 27.98 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3467, allocations: 79.83 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3469, allocations: 33.28 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.3469, allocations: 43.72 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.347, allocations: 31.73 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.347, allocations: 8 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.347, allocations: 8 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.3471, allocations: 19.92 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.3471, allocations: 35.8 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3473, allocations: 103.4 kB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3473, allocations: 0 / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3473, allocations: 4 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3473, allocations: 0 / 1.285 GB, free: 10.62 MB / 0.9825 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.0004857/0.3478, allocations: 326 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3478, allocations: 12.03 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.3478, allocations: 12.89 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3481, allocations: 142.5 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3481, allocations: 8.562 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3481, allocations: 12.38 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3483, allocations: 110.5 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3483, allocations: 3.984 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3483, allocations: 4 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3483, allocations: 4 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.3484, allocations: 43.92 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.349, allocations: 376.2 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.694e-05/0.349, allocations: 41.09 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3491, allocations: 21.83 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3491, allocations: 4 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3491, allocations: 30.56 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3491, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.3493, allocations: 53.59 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3494, allocations: 81.11 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3495, allocations: 140.3 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3495, allocations: 25.7 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.3496, allocations: 120 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.3496, allocations: 7.953 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3497, allocations: 17.72 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3498, allocations: 322.8 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.3499, allocations: 4 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.3499, allocations: 25.91 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3499, allocations: 29.7 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3499, allocations: 0 / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.71e-05/0.35, allocations: 57.59 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.35, allocations: 4 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.35, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3501, allocations: 7.938 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.3501, allocations: 7.984 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3501, allocations: 64 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.3501, allocations: 4 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3501, allocations: 7.938 kB / 1.287 GB, free: 8.387 MB / 0.9825 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 9.141e-05/0.3502, allocations: 113.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3503, allocations: 7.953 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.3503, allocations: 7.812 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3503, allocations: 4.219 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3503, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3503, allocations: 3.938 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.3507, allocations: 418.4 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3507, allocations: 8.062 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.3507, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3507, allocations: 4 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3507, allocations: 3.938 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3508, allocations: 3.938 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3508, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.3509, allocations: 81.94 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.3509, allocations: 7.953 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3509, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.3509, allocations: 3.938 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.3509, allocations: 4.031 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3509, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.351, allocations: 113.3 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.351, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001955/0.3512, allocations: 19.89 kB / 1.288 GB, free: 7.52 MB / 0.9825 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.0001156/0.3513, allocations: 95.19 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.3514, allocations: 19.98 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3514, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.3514, allocations: 12.06 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3516, allocations: 8 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.352, allocations: 208.3 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.3521, allocations: 84.02 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3521, allocations: 11.44 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3521, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.002652/0.3547, allocations: 0.8968 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 11.130650076083839]