Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001869/0.001869, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001812/0.001812, allocations: 221.5 kB / 23.01 MB, free: 4.605 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: 8.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.45/3.45, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002005/0.002005, allocations: 73.02 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002058/0.3163, allocations: 0.8841 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.3164, allocations: 55.77 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3165, allocations: 4 kB / 1.355 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.3165, allocations: 11.81 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.3166, allocations: 11.88 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.583e-05/0.3167, allocations: 23.97 kB / 1.355 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3168, allocations: 83.77 kB / 1.355 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3169, allocations: 33.3 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.317, allocations: 39.8 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.3171, allocations: 35.78 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3171, allocations: 8 kB / 1.355 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.3171, allocations: 4 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.3171, allocations: 27.91 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.3172, allocations: 39.69 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3173, allocations: 103.5 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3173, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3173, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3173, allocations: 4 kB / 1.355 GB, free: 6.621 MB / 1.045 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.0004631/0.3178, allocations: 326 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3178, allocations: 12.03 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.3179, allocations: 12.84 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3181, allocations: 144.8 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3181, allocations: 8.562 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3181, allocations: 8.375 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3183, allocations: 112.8 kB / 1.356 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3183, allocations: 0 / 1.356 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3183, allocations: 7.938 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3183, allocations: 7.984 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.3184, allocations: 39.92 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.319, allocations: 431.6 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.319, allocations: 45.16 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.3191, allocations: 13.78 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3191, allocations: 7.984 kB / 1.357 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3191, allocations: 38.56 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3191, allocations: 0 / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.3193, allocations: 53.59 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3193, allocations: 81.11 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3195, allocations: 182.7 kB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3195, allocations: 29.64 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.3196, allocations: 112.1 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.3196, allocations: 3.953 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3197, allocations: 17.94 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3198, allocations: 331 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.3198, allocations: 3.938 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.3199, allocations: 25.7 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.3199, allocations: 21.72 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3199, allocations: 0 / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.404e-05/0.32, allocations: 69.56 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.32, allocations: 8 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.32, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.32, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.3201, allocations: 8 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3201, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.3201, allocations: 7.875 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3201, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 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 8.927e-05/0.3202, allocations: 122.4 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.3203, allocations: 11.94 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.3203, allocations: 20.48 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3203, allocations: 96 / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3203, allocations: 3.984 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3203, allocations: 7.938 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.3207, allocations: 441.9 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3207, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.3207, allocations: 4 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3207, allocations: 4.062 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3207, allocations: 11.94 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3207, allocations: 0 / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3207, allocations: 0 / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.158e-05/0.3208, allocations: 81.83 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.3209, allocations: 11.95 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3209, allocations: 15.95 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.3209, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.3209, allocations: 3.938 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3209, allocations: 0 / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001144/0.321, allocations: 136.8 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.321, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001939/0.3212, allocations: 8 kB / 1.358 GB, free: 3.309 MB / 1.045 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.0001023/0.3213, allocations: 99.23 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.3214, allocations: 16 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3214, allocations: 3.938 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.3214, allocations: 11.94 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3216, allocations: 10.34 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3219, allocations: 216.1 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3223, allocations: 0.7004 MB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3223, allocations: 11.44 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3223, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of Templates: time 0.002579/0.3249, allocations: 0.9957 MB / 1.36 GB, free: 1.18 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.56812676700065]