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.008229/0.008229, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001975/0.001975, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.726/2.726, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3778, allocations: 151.6 MB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001943/0.3798, allocations: 0.6556 MB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3809, allocations: 0.8121 MB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.381, allocations: 0 / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.381, allocations: 3.938 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.3811, allocations: 3.938 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.3813, allocations: 15.88 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.3814, allocations: 19.98 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3815, allocations: 11.97 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.3816, allocations: 11.94 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.3817, allocations: 15.91 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3817, allocations: 8 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3818, allocations: 4 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.3818, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.3818, allocations: 7.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3819, allocations: 19.91 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.382, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.382, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.382, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 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.0006523/0.3826, allocations: 339.4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3827, allocations: 16.02 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.3827, allocations: 4.938 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3829, allocations: 164.3 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3829, allocations: 384 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3829, allocations: 384 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3831, allocations: 50.23 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3831, allocations: 192 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3831, allocations: 3.938 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3832, allocations: 4 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3833, allocations: 39.89 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.3837, allocations: 241 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3838, allocations: 38.5 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.3839, allocations: 24.91 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.384, allocations: 11.97 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.384, allocations: 34.5 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.384, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.3843, allocations: 81.64 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3844, allocations: 51.41 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.3845, allocations: 97.98 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3845, allocations: 29.7 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3846, allocations: 84.14 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3846, allocations: 7.938 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.3846, allocations: 13.72 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3848, allocations: 314.8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.3849, allocations: 11.98 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.3849, allocations: 19.98 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3851, allocations: 44.75 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3851, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.3853, allocations: 85.42 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3853, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3853, allocations: 4.094 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3854, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.3854, allocations: 8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3855, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3855, allocations: 7.984 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3855, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 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 8.927e-05/0.3856, allocations: 120.2 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.3856, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3859, allocations: 76.7 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3859, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3859, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3859, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3861, allocations: 157.6 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3861, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3862, allocations: 11.98 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3862, allocations: 0 / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3862, allocations: 4.188 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3862, allocations: 4.031 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3862, allocations: 3.984 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3864, allocations: 167.4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.3865, allocations: 85 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3865, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.3866, allocations: 12.02 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3866, allocations: 8 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3866, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.3867, allocations: 83.27 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3867, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002128/0.3869, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 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.00019/0.3871, allocations: 95.25 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.3873, allocations: 35.97 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3873, allocations: 4 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.3874, allocations: 23.91 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3877, allocations: 9.625 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.388, allocations: 97.45 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3883, allocations: 0.6846 MB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.3884, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.3884, allocations: 11.44 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3884, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of Templates: time 0.00254/0.3909, allocations: 430.2 kB / 1.172 GB, free: 0.832 MB / 0.92 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