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.001649/0.001649, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002225/0.002225, allocations: 209.9 kB / 22.99 MB, free: 4.957 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.418/3.418, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002132/0.002132, allocations: 69.19 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4432, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002324/0.4455, allocations: 0.8391 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.4457, allocations: 59.72 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.4457, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.4458, allocations: 15.8 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.4459, allocations: 11.88 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.088e-05/0.446, allocations: 23.98 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.4461, allocations: 83.8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.4463, allocations: 41.23 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.4464, allocations: 31.81 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.4464, allocations: 39.72 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.4465, allocations: 12 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.4465, allocations: 8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.4465, allocations: 19.92 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.4466, allocations: 35.8 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4467, allocations: 99.48 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4467, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4467, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4467, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 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.0005284/0.4473, allocations: 329.9 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4473, allocations: 12.03 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4474, allocations: 8.891 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4476, allocations: 146.5 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4476, allocations: 8.562 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.4476, allocations: 12.38 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.4479, allocations: 108.2 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.4479, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.4479, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4479, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.448, allocations: 43.86 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.4485, allocations: 376.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.4486, allocations: 37.16 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.4487, allocations: 25.83 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.4487, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4487, allocations: 38.5 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4487, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.4489, allocations: 49.59 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4489, allocations: 81.11 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4491, allocations: 144 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4491, allocations: 25.95 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.4492, allocations: 124.1 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.4492, allocations: 3.953 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.4492, allocations: 17.72 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4494, allocations: 322.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.4494, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.4494, allocations: 21.72 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.4495, allocations: 29.59 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4495, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.307e-05/0.4496, allocations: 61.64 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4496, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4496, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4496, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.4497, allocations: 7.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4497, allocations: 3.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.4497, allocations: 7.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.4497, allocations: 4.25 kB / 1.33 GB, free: 13.45 MB / 1.029 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.975e-05/0.4498, allocations: 113.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.4499, allocations: 15.88 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.4499, allocations: 15.88 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4499, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4499, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4499, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.4503, allocations: 426.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4503, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.4503, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4503, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4503, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4503, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4503, allocations: 4.062 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4504, allocations: 85.88 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.4504, allocations: 3.953 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4505, allocations: 4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.4505, allocations: 3.938 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.4505, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.4505, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.72e-05/0.4506, allocations: 112.4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4506, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000194/0.4508, allocations: 19.89 kB / 1.331 GB, free: 12.57 MB / 1.029 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.0001285/0.4509, allocations: 103.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.451, allocations: 15.94 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.451, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.451, allocations: 7.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.4512, allocations: 8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.4515, allocations: 174.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.4516, allocations: 89.75 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.4517, allocations: 7.984 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4517, allocations: 15.38 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4517, allocations: 3.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of Templates: time 0.002881/0.4546, allocations: 422.3 kB / 1.332 GB, free: 11.69 MB / 1.029 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.530905674007954]