Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002456/0.002456, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002977/0.002977, allocations: 157.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.659/1.659, allocations: 177.1 MB / 203.9 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.1/3.1, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.128e-05, allocations: 4.031 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002169/0.0022, allocations: 0.7926 MB / 0.8116 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.002345, allocations: 52.53 kB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.002405, allocations: 0 / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.002446, allocations: 13.08 kB / 0.8117 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/0.002537, allocations: 3.938 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.237e-05/0.002599, allocations: 15.98 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.00274, allocations: 67.83 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.002882, allocations: 33.31 kB / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.002993, allocations: 31.91 kB / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.003056, allocations: 23.91 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003077, allocations: 4.75 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.003092, allocations: 8 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.003116, allocations: 12.84 kB / 0.8119 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.003159, allocations: 23.91 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.003308, allocations: 79.62 kB / 0.812 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003311, allocations: 0.6562 kB / 0.812 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003312, allocations: 0.6875 kB / 0.812 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003316, allocations: 0 / 0.812 GB, free: 0.9688 MB / 0.7605 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.0006284/0.003944, allocations: 405.2 kB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.00399, allocations: 12.03 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.004052, allocations: 20.84 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.004276, allocations: 133.1 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004292, allocations: 8.859 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.004313, allocations: 13.62 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.004505, allocations: 108.6 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.004518, allocations: 4.188 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.004528, allocations: 384 / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.004532, allocations: 2.656 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.004627, allocations: 47.8 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.005307, allocations: 466.4 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.005406, allocations: 62.28 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.005455, allocations: 28.75 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005467, allocations: 0 / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.005502, allocations: 37.39 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.005503, allocations: 1.219 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002044/0.005707, allocations: 53.58 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.005781, allocations: 77.77 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.005977, allocations: 203.3 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.005994, allocations: 26.42 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.006117, allocations: 154.7 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.006129, allocations: 8.516 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.006175, allocations: 24.75 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.006449, allocations: 0.4884 MB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.006468, allocations: 4 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.006503, allocations: 27.31 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.006558, allocations: 36.89 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006559, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003949/0.006954, allocations: 55.52 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.00697, allocations: 8 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006975, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.006989, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.007054, allocations: 9.203 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.007063, allocations: 7.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.00709, allocations: 3.953 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.007093, allocations: 1.375 kB / 0.8144 GB, free: 14.23 MB / 0.7761 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.0001227/0.007216, allocations: 160.6 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.007257, allocations: 4 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.007291, allocations: 12 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007292, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007296, allocations: 4.469 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0073, allocations: 8.75 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.007845, allocations: 0.5577 MB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007847, allocations: 0.8125 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.007867, allocations: 7.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007869, allocations: 0.5312 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.007887, allocations: 12.83 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.007893, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007894, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.008001, allocations: 80.98 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.008032, allocations: 17.22 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.008046, allocations: 3.938 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.008063, allocations: 0 / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.008087, allocations: 4 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.008088, allocations: 4.469 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001094/0.008198, allocations: 144.7 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008198, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001834/0.008381, allocations: 13.64 kB / 0.8154 GB, free: 13.12 MB / 0.7761 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.0001371/0.008518, allocations: 95.25 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.008638, allocations: 28.55 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008639, allocations: 0 / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.008664, allocations: 19.09 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.008816, allocations: 8 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.009205, allocations: 170.7 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.009289, allocations: 75.19 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.009316, allocations: 4.5 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.009351, allocations: 13.75 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.009352, allocations: 0 / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.00302/0.01237, allocations: 348.5 kB / 0.8161 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.304463738924824]