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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001899/0.001899, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.39 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001978/0.3443, allocations: 0.7146 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.3451, allocations: 0.8001 MB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.3452, allocations: 0 / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3452, allocations: 4 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.3453, allocations: 3.938 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.3455, allocations: 8 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.3455, allocations: 23.92 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.3456, allocations: 8 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.3457, allocations: 15.92 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.3457, allocations: 7.938 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3458, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.3458, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3458, allocations: 15.97 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.3458, allocations: 7.938 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.628e-05/0.3459, allocations: 19.97 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3459, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3459, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3459, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 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.0004558/0.3464, allocations: 335.7 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3464, allocations: 12.03 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3465, allocations: 4.844 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3466, allocations: 176.2 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3466, allocations: 4.375 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3466, allocations: 4.375 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3468, allocations: 46.23 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3468, allocations: 192 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3468, allocations: 7.938 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3468, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.347, allocations: 35.91 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.3474, allocations: 249 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3475, allocations: 38.5 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.3476, allocations: 16.91 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3476, allocations: 4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3476, allocations: 34.56 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3477, allocations: 3.938 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.348, allocations: 81.64 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3481, allocations: 51.41 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.3482, allocations: 105.8 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3482, allocations: 29.83 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.3482, allocations: 80.14 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3483, allocations: 7.906 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3483, allocations: 13.72 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3484, allocations: 314.8 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.3485, allocations: 19.98 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.3486, allocations: 11.98 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3487, allocations: 48.81 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3487, allocations: 4 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.3489, allocations: 69.52 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.349, allocations: 4 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.349, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.349, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.3491, allocations: 20.02 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.3491, allocations: 0 / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3492, allocations: 7.984 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3492, allocations: 0 / 1.055 GB, free: 5.148 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 7.198e-05/0.3493, allocations: 109.8 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.3493, allocations: 4 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.3495, allocations: 80.66 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3495, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3496, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3496, allocations: 3.938 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3497, allocations: 161.6 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3497, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3498, allocations: 7.984 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3498, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3498, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3498, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3498, allocations: 8.031 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3501, allocations: 163.4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3501, allocations: 81.11 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3501, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.3502, allocations: 7.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3503, allocations: 4.031 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3503, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.3503, allocations: 79.28 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002146/0.3506, allocations: 8 kB / 1.056 GB, free: 4.344 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.0001717/0.3507, allocations: 103.2 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.351, allocations: 35.97 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.351, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3511, allocations: 19.92 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3514, allocations: 15.86 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.3517, allocations: 119.1 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.352, allocations: 0.6733 MB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.352, allocations: 4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.352, allocations: 11.44 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3521, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.002308/0.3544, allocations: 375.1 kB / 1.057 GB, free: 2.941 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 -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/jenkins/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