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.001566/0.001566, allocations: 100.1 kB / 15.88 MB, free: 12 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.001897/0.001897, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.94 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002309/0.3423, allocations: 0.7262 MB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3435, allocations: 0.8001 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.3436, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.3437, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.3438, allocations: 4 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3439, allocations: 7.984 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.344, allocations: 19.94 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3441, allocations: 15.91 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.3442, allocations: 11.94 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.3442, allocations: 7.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3443, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.3443, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3443, allocations: 15.94 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3443, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.3444, allocations: 19.97 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3444, allocations: 0 / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3444, allocations: 3.938 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3444, allocations: 0 / 1.054 GB, free: 6.586 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.000502/0.3449, allocations: 331.8 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.345, allocations: 19.91 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.345, allocations: 4.844 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3452, allocations: 172.3 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3452, allocations: 4.375 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3452, allocations: 384 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3454, allocations: 50.23 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3454, allocations: 192 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3454, allocations: 3.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3455, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3456, allocations: 31.97 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.346, allocations: 256.9 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3461, allocations: 38.5 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.3462, allocations: 20.91 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3462, allocations: 4 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3463, allocations: 34.56 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3463, allocations: 0 / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.3466, allocations: 85.58 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3467, allocations: 51.41 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3468, allocations: 101.8 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3468, allocations: 29.83 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.3468, allocations: 80.14 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3469, allocations: 7.906 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3469, allocations: 13.72 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.347, allocations: 314.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.3471, allocations: 15.98 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.3472, allocations: 15.98 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3473, allocations: 44.88 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3474, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.3476, allocations: 73.64 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3476, allocations: 4 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3476, allocations: 3.938 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3476, allocations: 4.031 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.3477, allocations: 15.97 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3477, allocations: 3.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3478, allocations: 7.984 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3478, allocations: 0 / 1.056 GB, free: 4.551 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.254e-05/0.3479, allocations: 113.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.3479, allocations: 4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3481, allocations: 72.72 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3482, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3482, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3482, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3483, allocations: 161.6 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3484, allocations: 4 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.3484, allocations: 11.98 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3484, allocations: 0 / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3484, allocations: 4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3484, allocations: 4.031 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3485, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3487, allocations: 155.5 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3488, allocations: 81.11 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3488, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3489, allocations: 11.98 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3489, allocations: 7.969 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3489, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.349, allocations: 79.28 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002193/0.3492, allocations: 4 kB / 1.057 GB, free: 3.75 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.0001711/0.3494, allocations: 103.2 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3496, allocations: 35.97 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3496, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.3497, allocations: 19.98 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.35, allocations: 11.86 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.3504, allocations: 141 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3506, allocations: 0.6772 MB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.3506, allocations: 11.44 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3506, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of Templates: time 0.001945/0.3526, allocations: 0.542 MB / 1.058 GB, free: 2.152 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/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