Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.00201/0.00201, allocations: 107 kB / 16.46 MB, free: 6.512 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.002405/0.002405, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.393/3.393, allocations: 0.4899 GB / 0.7915 GB, free: 33.14 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [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.002096/0.002096, allocations: 74.92 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4446, allocations: 176.1 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002571/0.4471, allocations: 0.8325 MB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.4473, allocations: 39.78 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.4474, allocations: 4 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.4474, allocations: 7.875 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.4475, allocations: 11.88 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.39e-05/0.4476, allocations: 19.97 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.4477, allocations: 59.84 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4479, allocations: 31.92 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.4479, allocations: 35.86 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.448, allocations: 23.86 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.448, allocations: 4 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.448, allocations: 8 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.4481, allocations: 23.84 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.4481, allocations: 31.75 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.4483, allocations: 79.58 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4483, allocations: 0 / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4483, allocations: 0 / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.4483, allocations: 0 / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005236/0.4488, allocations: 388.8 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4488, allocations: 11.98 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4489, allocations: 8.891 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4491, allocations: 200.2 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4491, allocations: 8.375 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.4492, allocations: 8.359 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4493, allocations: 91.86 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4494, allocations: 8.125 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.4494, allocations: 11.94 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4494, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.4495, allocations: 31.98 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.4501, allocations: 432.8 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.4502, allocations: 45.09 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.4502, allocations: 17.84 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4502, allocations: 3.938 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4503, allocations: 38.5 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4503, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.4505, allocations: 61.53 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.4506, allocations: 81.05 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.4507, allocations: 160.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4508, allocations: 25.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.4509, allocations: 112 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.4509, allocations: 7.953 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.4509, allocations: 13.72 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4511, allocations: 319.1 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.4511, allocations: 12 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.4511, allocations: 13.72 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.4512, allocations: 29.72 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4512, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.849e-05/0.4513, allocations: 57.58 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4513, allocations: 8.062 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4513, allocations: 3.938 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4513, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.4514, allocations: 4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4514, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.4514, allocations: 7.953 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4514, allocations: 7.922 kB / 1.325 GB, free: 15.13 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 0.0001074/0.4515, allocations: 113.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.4516, allocations: 7.953 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.4516, allocations: 19.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.4516, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4516, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4516, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.4521, allocations: 474.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4521, allocations: 3.984 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.4521, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4521, allocations: 4.062 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4521, allocations: 8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4521, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4521, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4522, allocations: 81.78 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4523, allocations: 96.98 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4523, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.4523, allocations: 4.031 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.4524, allocations: 4 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.4524, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001069/0.4525, allocations: 129.4 kB / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4525, allocations: 0 / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001896/0.4526, allocations: 8 kB / 1.325 GB, free: 14.07 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.0001365/0.4528, allocations: 99.23 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4529, allocations: 23.94 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4529, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.4529, allocations: 8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.4531, allocations: 9.656 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.4534, allocations: 161.8 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4538, allocations: 0.6965 MB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.4538, allocations: 12.5 kB / 1.326 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.4538, allocations: 11.44 kB / 1.326 GB, free: 12.99 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4538, allocations: 0 / 1.326 GB, free: 12.99 MB / 1.029 GB Notification: Performance of Templates: time 0.003072/0.4569, allocations: 456.5 kB / 1.327 GB, free: 12.55 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.676409856881946]