Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00178/0.00178, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002146, allocations: 188.5 kB / 16.67 MB, free: 6.543 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.471/1.471, allocations: 222.9 MB / 240.3 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3416, allocations: 151.6 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002068/0.3437, allocations: 0.6575 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.3447, allocations: 0.8161 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.3447, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3448, allocations: 3.938 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.3448, allocations: 0 / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.345, allocations: 15.92 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.3451, allocations: 19.92 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3453, allocations: 8 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.3453, allocations: 7.984 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.3454, allocations: 11.94 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3454, allocations: 3.938 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.3454, allocations: 8 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.3455, allocations: 15.91 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.3455, allocations: 7.938 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.3456, allocations: 19.91 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3456, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.018e-06/0.3456, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3456, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 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.0005314/0.3462, allocations: 339.4 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3462, allocations: 12.03 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.3463, allocations: 4.938 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3464, allocations: 168.3 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3464, allocations: 384 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3464, allocations: 384 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3466, allocations: 46.25 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3466, allocations: 192 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3467, allocations: 7.922 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3467, allocations: 4 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3468, allocations: 35.91 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.3472, allocations: 240.9 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3474, allocations: 42.53 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.3475, allocations: 24.91 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3475, allocations: 4 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3475, allocations: 30.56 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3476, allocations: 3.938 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003746/0.3479, allocations: 77.64 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.348, allocations: 55.41 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.3481, allocations: 106 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3481, allocations: 29.7 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.3482, allocations: 84.14 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3482, allocations: 3.953 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.3482, allocations: 13.72 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3484, allocations: 318.8 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.3485, allocations: 11.98 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.3485, allocations: 27.98 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3487, allocations: 36.77 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3487, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.3489, allocations: 73.55 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3489, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3489, allocations: 4.094 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3489, allocations: 7.938 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.349, allocations: 7.984 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.349, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.3491, allocations: 7.984 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3491, allocations: 3.938 kB / 1.17 GB, free: 3.098 MB / 0.92 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.39e-05/0.3492, allocations: 113.8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3492, allocations: 4 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.3494, allocations: 72.72 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3495, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3495, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3495, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3496, allocations: 165.6 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3496, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.3497, allocations: 8 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3497, allocations: 3.984 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3497, allocations: 4.031 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3497, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3497, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.35, allocations: 167.4 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.35, allocations: 85 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3501, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.3501, allocations: 12.02 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3502, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3502, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.3502, allocations: 83.28 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3503, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002076/0.3505, allocations: 4 kB / 1.171 GB, free: 2.281 MB / 0.92 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.0001749/0.3506, allocations: 95.25 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3509, allocations: 43.95 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3509, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.351, allocations: 19.92 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3513, allocations: 11.92 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3516, allocations: 93.47 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3519, allocations: 0.6808 MB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.3519, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3519, allocations: 7.438 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3519, allocations: 7.938 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of Templates: time 0.002643/0.3546, allocations: 438.6 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches