Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008758/0.008758, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001641/0.001641, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.84 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9816, allocations: 159.1 MB / 1.221 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00267/0.9843, allocations: 0.6614 MB / 1.221 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.9857, allocations: 0.8039 MB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.9857, allocations: 4 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.9858, allocations: 0 / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.9858, allocations: 3.938 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.986, allocations: 11.98 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.9861, allocations: 31.91 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.9863, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.9864, allocations: 15.92 kB / 1.222 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.9864, allocations: 4 kB / 1.222 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.9865, allocations: 0 / 1.222 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.9865, allocations: 7.938 kB / 1.222 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.9865, allocations: 7.984 kB / 1.222 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.9865, allocations: 7.938 kB / 1.222 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.9866, allocations: 27.89 kB / 1.222 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9867, allocations: 0 / 1.222 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9867, allocations: 4 kB / 1.222 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9867, allocations: 0 / 1.222 GB, free: 0.6406 MB / 0.9356 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.0006239/0.9873, allocations: 336.4 kB / 1.223 GB, free: 268 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.9873, allocations: 8.031 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.9874, allocations: 8.891 kB / 1.223 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.9876, allocations: 164.4 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.9876, allocations: 384 / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9876, allocations: 4.375 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.9878, allocations: 54.17 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9878, allocations: 4.188 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.9878, allocations: 3.938 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9878, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.988, allocations: 27.97 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.9883, allocations: 240.9 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.9885, allocations: 54.52 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.9886, allocations: 28.84 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.9886, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.9886, allocations: 30.56 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9886, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.989, allocations: 85.64 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.989, allocations: 55.34 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.9891, allocations: 97.84 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.9891, allocations: 29.7 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.9891, allocations: 88.09 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.9892, allocations: 7.891 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.9892, allocations: 13.84 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9893, allocations: 326.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.9894, allocations: 11.98 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.9895, allocations: 19.98 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.9896, allocations: 32.83 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9896, allocations: 4.062 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.9898, allocations: 69.59 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9898, allocations: 4 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9898, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.9898, allocations: 4 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.808e-05/0.9899, allocations: 7.984 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9899, allocations: 3.938 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.9899, allocations: 11.92 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.9899, allocations: 4.031 kB / 1.224 GB, free: 14.61 MB / 0.9512 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.934e-05/0.99, allocations: 118.3 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.9901, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.9903, allocations: 64.78 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9903, allocations: 4 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9903, allocations: 4 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9903, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.9904, allocations: 165.6 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9904, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.9905, allocations: 11.98 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9905, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.9905, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9905, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9905, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.9907, allocations: 171.4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.9908, allocations: 77.11 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.9908, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.9908, allocations: 7.984 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.9909, allocations: 7.938 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.9909, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.9909, allocations: 83.28 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9909, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002062/0.9911, allocations: 8.031 kB / 1.225 GB, free: 13.8 MB / 0.9512 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.0001714/0.9913, allocations: 101.9 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.9915, allocations: 35.91 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9915, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.9916, allocations: 19.98 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.9919, allocations: 20.03 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.9922, allocations: 105.5 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.9925, allocations: 0.6768 MB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.9925, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.9925, allocations: 7.438 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.9925, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.002679/0.9952, allocations: 434.9 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches