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.001101/0.001101, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009206/0.009206, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.592/1.592, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 3.045/3.045, allocations: 470.6 MB / 0.7441 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12 kB / 0.9123 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3938, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001008/0.3948, allocations: 396.6 kB / 1.07 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3959, allocations: 0.8058 MB / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.396, allocations: 0 / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.396, allocations: 0 / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.3961, allocations: 3.938 kB / 1.071 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.3962, allocations: 15.97 kB / 1.071 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.3963, allocations: 19.94 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3964, allocations: 11.98 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3965, allocations: 7.938 kB / 1.071 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.3965, allocations: 11.98 kB / 1.071 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3966, allocations: 0 / 1.071 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.3966, allocations: 4 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3966, allocations: 7.938 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.3966, allocations: 25.7 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.3967, allocations: 27.88 kB / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3967, allocations: 0 / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.539e-06/0.3967, allocations: 4 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3968, allocations: 0 / 1.071 GB, free: 10.02 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.0005067/0.3973, allocations: 327.9 kB / 1.072 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3973, allocations: 12.02 kB / 1.072 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3974, allocations: 8.781 kB / 1.072 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3975, allocations: 168.3 kB / 1.072 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3975, allocations: 384 / 1.072 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3976, allocations: 4.375 kB / 1.072 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3978, allocations: 58.17 kB / 1.072 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3978, allocations: 192 / 1.072 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3978, allocations: 7.938 kB / 1.072 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3978, allocations: 4 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.398, allocations: 43.95 kB / 1.072 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3984, allocations: 245 kB / 1.072 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3986, allocations: 42.5 kB / 1.072 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3987, allocations: 36.78 kB / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3987, allocations: 3.984 kB / 1.072 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3988, allocations: 30.56 kB / 1.072 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3988, allocations: 0 / 1.072 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003917/0.3992, allocations: 97.64 kB / 1.072 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.3992, allocations: 55.41 kB / 1.072 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3994, allocations: 101.8 kB / 1.072 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3994, allocations: 25.7 kB / 1.072 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.3994, allocations: 80.14 kB / 1.072 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3995, allocations: 11.89 kB / 1.073 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3995, allocations: 17.84 kB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3997, allocations: 314.8 kB / 1.073 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.3998, allocations: 15.98 kB / 1.073 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.3999, allocations: 23.98 kB / 1.073 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4, allocations: 52.88 kB / 1.073 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4, allocations: 0 / 1.073 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002315/0.4003, allocations: 81.52 kB / 1.073 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4003, allocations: 11.98 kB / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4003, allocations: 0 / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4003, allocations: 0 / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.4004, allocations: 8 kB / 1.073 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4005, allocations: 3.938 kB / 1.073 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.4005, allocations: 16.02 kB / 1.073 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.4005, allocations: 0 / 1.073 GB, free: 7.926 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 9.588e-05/0.4006, allocations: 113.8 kB / 1.073 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.4007, allocations: 4 kB / 1.073 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4009, allocations: 80.78 kB / 1.073 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4009, allocations: 7.984 kB / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.401, allocations: 0 / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.401, allocations: 4 kB / 1.073 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4012, allocations: 157.6 kB / 1.073 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4012, allocations: 3.938 kB / 1.073 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.4012, allocations: 11.98 kB / 1.073 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4012, allocations: 0 / 1.073 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4013, allocations: 4.031 kB / 1.073 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.4013, allocations: 4 kB / 1.073 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4013, allocations: 7.875 kB / 1.073 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.4016, allocations: 171.5 kB / 1.074 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.4016, allocations: 77.11 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4017, allocations: 4 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.4017, allocations: 11.98 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.4018, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.4018, allocations: 0 / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.4018, allocations: 83.27 kB / 1.074 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4019, allocations: 0 / 1.074 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.4021, allocations: 8.031 kB / 1.074 GB, free: 7.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.000166/0.4022, allocations: 99.25 kB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4025, allocations: 47.91 kB / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4025, allocations: 8.062 kB / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.4026, allocations: 23.97 kB / 1.074 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4029, allocations: 7.875 kB / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.4032, allocations: 104.9 kB / 1.074 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4036, allocations: 0.681 MB / 1.075 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.4036, allocations: 0 / 1.075 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.4037, allocations: 11.44 kB / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4037, allocations: 4 kB / 1.075 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.002726/0.4064, allocations: 360.1 kB / 1.075 GB, free: 5.695 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