Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001788/0.001788, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002411/0.002411, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.427/3.427, allocations: 0.505 GB / 0.8108 GB, free: 22.17 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002043/0.002043, allocations: 67.42 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002246/0.389, allocations: 0.8779 MB / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.3891, allocations: 55.78 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.3892, allocations: 0 / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.3892, allocations: 15.8 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.3893, allocations: 11.88 kB / 1.355 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.902e-05/0.3894, allocations: 23.97 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3895, allocations: 91.75 kB / 1.355 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3897, allocations: 33.3 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.3897, allocations: 31.8 kB / 1.355 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.3898, allocations: 39.78 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.3898, allocations: 8 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.3898, allocations: 12 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.3899, allocations: 15.94 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.3899, allocations: 47.67 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3901, allocations: 103.4 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3901, allocations: 0 / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3901, allocations: 0 / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3901, allocations: 4 kB / 1.355 GB, free: 6.602 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.0004921/0.3906, allocations: 326 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3906, allocations: 8.031 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3907, allocations: 20.84 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3909, allocations: 138.5 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3909, allocations: 8.562 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.391, allocations: 8.375 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3912, allocations: 108.6 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3912, allocations: 3.984 kB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3912, allocations: 7.938 kB / 1.356 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3912, allocations: 4 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.3913, allocations: 47.97 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3919, allocations: 427.6 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.392, allocations: 37.09 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.392, allocations: 25.84 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.392, allocations: 0 / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.392, allocations: 30.56 kB / 1.357 GB, free: 5.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3921, allocations: 0 / 1.357 GB, free: 5.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.3923, allocations: 57.58 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3923, allocations: 77.11 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3925, allocations: 198.9 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3925, allocations: 25.7 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3926, allocations: 104.1 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.3926, allocations: 3.953 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.3927, allocations: 17.94 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3928, allocations: 326.8 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.3928, allocations: 11.94 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.3929, allocations: 21.7 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.3929, allocations: 29.72 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3929, allocations: 0 / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.025e-05/0.393, allocations: 61.55 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.393, allocations: 4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.393, allocations: 3.984 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.393, allocations: 4 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.3931, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3931, allocations: 4.062 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/0.3931, allocations: 11.88 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3932, allocations: 0 / 1.358 GB, free: 4.25 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 9.901e-05/0.3933, allocations: 126.4 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.3933, allocations: 19.84 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.3933, allocations: 12.48 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3933, allocations: 0 / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3933, allocations: 0 / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3933, allocations: 3.938 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3938, allocations: 457.9 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3938, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.3938, allocations: 4 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3938, allocations: 0 / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3938, allocations: 3.938 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3938, allocations: 0 / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3938, allocations: 0 / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.734e-05/0.3939, allocations: 85.95 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.3939, allocations: 11.95 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.394, allocations: 3.938 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.394, allocations: 0 / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.394, allocations: 11.92 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.394, allocations: 0 / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001252/0.3941, allocations: 140.9 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3941, allocations: 0 / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001962/0.3943, allocations: 12 kB / 1.358 GB, free: 3.285 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.0001243/0.3945, allocations: 91.25 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.3946, allocations: 19.98 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3946, allocations: 3.938 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.3946, allocations: 7.938 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3947, allocations: 12.25 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.3951, allocations: 212.1 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3955, allocations: 0.7002 MB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3955, allocations: 11.44 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3955, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of Templates: time 0.002841/0.3984, allocations: 0.9978 MB / 1.36 GB, free: 1.16 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.754790785984369]