Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001954/0.001954, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.002178/0.002178, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.593/1.593, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.97 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002176/0.3675, allocations: 0.6757 MB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3686, allocations: 0.8064 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.3686, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3687, allocations: 3.938 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.3688, allocations: 0 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3689, allocations: 11.98 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.369, allocations: 23.92 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3692, allocations: 4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.3693, allocations: 15.94 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.3693, allocations: 7.984 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3694, allocations: 3.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.3694, allocations: 4 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3694, allocations: 4 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3694, allocations: 15.91 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.3695, allocations: 15.97 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.3696, allocations: 0 / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3696, allocations: 7.938 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.3696, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 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.0005255/0.3701, allocations: 336.8 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3702, allocations: 8.031 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3702, allocations: 8.844 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3704, allocations: 164.3 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3704, allocations: 4.359 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3704, allocations: 8.312 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3706, allocations: 46.23 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3706, allocations: 192 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3707, allocations: 11.94 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3707, allocations: 0 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3709, allocations: 31.95 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.3713, allocations: 244.9 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3715, allocations: 42.48 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.3716, allocations: 28.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3716, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3716, allocations: 30.56 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3716, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003885/0.372, allocations: 89.67 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.3721, allocations: 51.41 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.3722, allocations: 93.86 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3722, allocations: 33.69 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.3723, allocations: 84.14 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3724, allocations: 3.906 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.3724, allocations: 13.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3726, allocations: 318.8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.3727, allocations: 24 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.3728, allocations: 19.98 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3729, allocations: 32.83 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3729, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.3731, allocations: 81.5 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3731, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3732, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3732, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.3733, allocations: 7.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3733, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.3733, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3734, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 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.938e-05/0.3735, allocations: 129.7 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.3735, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3737, allocations: 72.72 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3738, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3738, allocations: 3.938 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3738, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3739, allocations: 157.6 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.374, allocations: 3.984 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.374, allocations: 12.03 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.374, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.374, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.374, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3741, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3743, allocations: 163.5 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.3744, allocations: 89.03 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3744, allocations: 3.938 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3745, allocations: 4.188 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.3746, allocations: 11.98 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.3746, allocations: 3.984 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.3746, allocations: 79.28 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002122/0.3749, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 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.0002128/0.3751, allocations: 99.25 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.3753, allocations: 35.95 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3753, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.3754, allocations: 19.98 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3758, allocations: 11.88 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3762, allocations: 113.6 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3765, allocations: 0.6768 MB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.3766, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3766, allocations: 11.44 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3766, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of Templates: time 0.002897/0.3795, allocations: 439.4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches