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.001348/0.001348, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001371/0.001371, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 77.75 kB / 0.9081 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3717, allocations: 159.1 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00252/0.3743, allocations: 0.7242 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3755, allocations: 0.8019 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.3755, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.3756, allocations: 3.938 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.3757, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.3758, allocations: 15.98 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.3759, allocations: 31.86 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.376, allocations: 8 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.3761, allocations: 4 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.3762, allocations: 15.92 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3762, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.3762, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.3762, allocations: 3.984 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.3763, allocations: 15.92 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.479e-05/0.3764, allocations: 15.97 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3764, allocations: 4 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3764, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3764, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 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.0005732/0.377, allocations: 331.8 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.377, allocations: 8.031 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3771, allocations: 8.781 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3773, allocations: 168.3 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3773, allocations: 4.312 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3773, allocations: 384 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3775, allocations: 58.22 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3775, allocations: 192 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3775, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3776, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3777, allocations: 35.95 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3781, allocations: 249 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.3783, allocations: 46.42 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.3784, allocations: 20.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3784, allocations: 4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3784, allocations: 30.56 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3784, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.3788, allocations: 85.64 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3788, allocations: 59.28 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3789, allocations: 93.86 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.379, allocations: 29.7 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.379, allocations: 88.03 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.379, allocations: 4 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3791, allocations: 13.84 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3792, allocations: 318.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.3793, allocations: 11.98 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.3794, allocations: 19.97 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3795, allocations: 40.89 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3796, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.3798, allocations: 77.44 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3798, allocations: 5.562 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3798, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3798, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.3799, allocations: 11.98 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3799, allocations: 3.984 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.38, allocations: 8.031 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.38, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 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.98e-05/0.3801, allocations: 117.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.3801, allocations: 7.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3803, allocations: 64.78 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3803, allocations: 0 / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3803, allocations: 4.031 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3804, allocations: 0 / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3805, allocations: 165.6 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3805, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.3806, allocations: 11.92 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3806, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3806, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3806, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3806, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3809, allocations: 163.5 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3809, allocations: 81.02 kB / 1.067 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.381, allocations: 3.984 kB / 1.067 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.381, allocations: 4 kB / 1.067 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.3811, allocations: 4 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3811, allocations: 3.984 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.3812, allocations: 87.48 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3812, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002074/0.3814, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 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.0001646/0.3816, allocations: 103.2 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3818, allocations: 43.89 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.3818, allocations: 4 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/0.3819, allocations: 20.05 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3822, allocations: 15.88 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.3825, allocations: 98.61 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3828, allocations: 0.6768 MB / 1.068 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.3829, allocations: 4 kB / 1.068 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3829, allocations: 11.44 kB / 1.068 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3829, allocations: 8 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.002733/0.3857, allocations: 368.2 kB / 1.069 GB, free: 8.691 MB / 0.8262 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=400 -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