Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 195 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 75.88 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7504, allocations: 151.6 MB / 1.017 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002193/0.7527, allocations: 0.7316 MB / 1.017 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000935/0.7536, allocations: 0.8001 MB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.7537, allocations: 4 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.7537, allocations: 3.938 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.7538, allocations: 4 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.7539, allocations: 7.984 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.754, allocations: 19.94 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7541, allocations: 11.97 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.7542, allocations: 7.938 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.7542, allocations: 11.98 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.7543, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.7543, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.7543, allocations: 7.938 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.7543, allocations: 8 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.7544, allocations: 19.91 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7544, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7544, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.7544, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000496/0.7549, allocations: 337.6 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.755, allocations: 12.03 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.755, allocations: 4.922 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7552, allocations: 176.2 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.7552, allocations: 384 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7552, allocations: 384 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.7554, allocations: 50.23 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7554, allocations: 192 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7554, allocations: 3.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7554, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.7556, allocations: 35.97 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.756, allocations: 252.9 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.7561, allocations: 38.5 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.7562, allocations: 20.91 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.7562, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.7563, allocations: 38.55 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.7563, allocations: 3.938 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.7566, allocations: 81.59 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.7567, allocations: 55.39 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.7568, allocations: 97.86 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7568, allocations: 29.83 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.7569, allocations: 80.14 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.7569, allocations: 11.84 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.757, allocations: 17.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7571, allocations: 310.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.7572, allocations: 15.98 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.7572, allocations: 15.98 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.7574, allocations: 48.81 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7574, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.7576, allocations: 69.55 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7577, allocations: 7.984 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7577, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7577, allocations: 4.031 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.7578, allocations: 8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7578, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.7579, allocations: 11.89 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.7579, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.541e-05/0.7579, allocations: 114.3 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.758, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.7582, allocations: 72.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7583, allocations: 3.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7583, allocations: 192 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7583, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.7585, allocations: 161.6 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7585, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.7585, allocations: 11.98 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7585, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.7586, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7586, allocations: 4.031 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7586, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.7588, allocations: 155.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.7589, allocations: 81.11 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.7589, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.759, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.759, allocations: 4.031 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.759, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.7591, allocations: 87.2 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7591, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002084/0.7593, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001541/0.7595, allocations: 99.25 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.7597, allocations: 35.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7597, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.7598, allocations: 23.97 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.7601, allocations: 13.28 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.7604, allocations: 103.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.7607, allocations: 0.6849 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.7607, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.7608, allocations: 11.38 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7608, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.002429/0.7632, allocations: 363 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches