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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 188.9 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.45/3.45, allocations: 495.8 MB / 0.783 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 63.72 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3981, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002133/0.4003, allocations: 0.8423 MB / 1.308 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.4004, allocations: 39.78 kB / 1.308 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.4005, allocations: 4 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.599e-05/0.4005, allocations: 11.86 kB / 1.308 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.4006, allocations: 11.88 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.099e-05/0.4006, allocations: 15.98 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4008, allocations: 67.83 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4009, allocations: 39.92 kB / 1.308 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.401, allocations: 31.86 kB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.401, allocations: 27.8 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4011, allocations: 4 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.603e-05/0.4011, allocations: 8 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.4011, allocations: 15.92 kB / 1.308 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.4012, allocations: 31.75 kB / 1.308 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.4013, allocations: 79.58 kB / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4013, allocations: 0 / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4013, allocations: 0 / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4013, allocations: 3.984 kB / 1.308 GB, free: 0.6367 MB / 0.9981 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.0004585/0.4018, allocations: 302 kB / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4018, allocations: 8.031 kB / 1.308 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.4019, allocations: 16.78 kB / 1.308 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.4021, allocations: 138.4 kB / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4021, allocations: 4.375 kB / 1.308 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.4021, allocations: 12.31 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4023, allocations: 91.94 kB / 1.308 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4023, allocations: 192 / 1.308 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.4023, allocations: 12.14 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4023, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.4024, allocations: 39.92 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.403, allocations: 395.7 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.4031, allocations: 41.28 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.4031, allocations: 25.83 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4031, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4031, allocations: 30.56 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4031, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.4033, allocations: 65.53 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.4034, allocations: 77.11 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4036, allocations: 158.2 kB / 1.309 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4036, allocations: 25.7 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.4037, allocations: 108 kB / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.4037, allocations: 3.953 kB / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.4037, allocations: 25.66 kB / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4039, allocations: 323.1 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.4039, allocations: 4 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.4039, allocations: 21.7 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.404, allocations: 21.72 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.404, allocations: 0 / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.391e-05/0.4041, allocations: 61.58 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4041, allocations: 12.06 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4041, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4041, allocations: 3.938 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.4042, allocations: 4 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4042, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.4042, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4042, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 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.0001016/0.4043, allocations: 118.5 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.4043, allocations: 11.95 kB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.4044, allocations: 19.73 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4044, allocations: 3.938 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4044, allocations: 8.094 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4044, allocations: 7.922 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.4049, allocations: 445.7 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4049, allocations: 0 / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.4049, allocations: 4 kB / 1.31 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4049, allocations: 4.062 kB / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4049, allocations: 0 / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4049, allocations: 0 / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4049, allocations: 0 / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.405, allocations: 85.88 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.405, allocations: 7.938 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.405, allocations: 4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.4051, allocations: 4.031 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.4051, allocations: 3.938 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4051, allocations: 4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.825e-05/0.4052, allocations: 121.7 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4052, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001882/0.4054, allocations: 8 kB / 1.311 GB, free: 13.48 MB / 1.014 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.4055, allocations: 95.25 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.4056, allocations: 19.98 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4056, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.4056, allocations: 7.938 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.4058, allocations: 11.45 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.4061, allocations: 154.6 kB / 1.311 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4065, allocations: 0.7043 MB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.4066, allocations: 4.438 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.4066, allocations: 11.44 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4066, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of Templates: time 0.003061/0.4096, allocations: 480.5 kB / 1.312 GB, free: 11.94 MB / 1.014 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.867979601025581]