Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 174.5 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 89.97 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.642e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3355, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8536/1.189, allocations: 150.5 MB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/1.189, allocations: 72.42 kB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/1.204, allocations: 6.689 MB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/1.204, allocations: 0 / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.204, allocations: 11.72 kB / 1.366 GB, free: 32.74 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007683/1.205, allocations: 0.5969 MB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.205, allocations: 10.09 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/1.205, allocations: 50.02 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/1.206, allocations: 330.8 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.206, allocations: 11.5 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/1.206, allocations: 19.22 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003322/1.206, allocations: 218.7 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/1.206, allocations: 311.7 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.207, allocations: 0 / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/1.207, allocations: 3.938 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/1.207, allocations: 7.688 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.208, allocations: 1.18 MB / 1.369 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/1.208, allocations: 201.2 kB / 1.369 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/1.209, allocations: 137.3 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/1.209, allocations: 4.109 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/1.209, allocations: 152.9 kB / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/1.209, allocations: 0 / 1.369 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003172/1.209, allocations: 220.2 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.209, allocations: 132.3 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.209, allocations: 248.7 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/1.209, allocations: 25.7 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.209, allocations: 222 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/1.21, allocations: 92.95 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/1.21, allocations: 0 / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.21, allocations: 344.5 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.21, allocations: 89.78 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.21, allocations: 166.1 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/1.21, allocations: 101.5 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.21, allocations: 0 / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003306/1.21, allocations: 288.9 kB / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/1.211, allocations: 450.8 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.211, allocations: 2.531 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.211, allocations: 3.906 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/1.211, allocations: 71.19 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/1.211, allocations: 3.844 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.211, allocations: 44.75 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/1.211, allocations: 15.95 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.211, allocations: 3.844 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002708/1.211, allocations: 219.1 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/1.212, allocations: 0 / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/1.212, allocations: 3.844 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.212, allocations: 62.02 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.212, allocations: 7.797 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/1.212, allocations: 34.33 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/1.212, allocations: 11.59 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.212, allocations: 107.5 kB / 1.372 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/1.212, allocations: 26.91 kB / 1.372 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/1.213, allocations: 235.1 kB / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.213, allocations: 7.781 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.213, allocations: 0 / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.213, allocations: 3.953 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/1.214, allocations: 0.9484 MB / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.214, allocations: 3.906 kB / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/1.214, allocations: 68.97 kB / 1.373 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/1.214, allocations: 3.812 kB / 1.373 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/1.214, allocations: 7.75 kB / 1.373 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.214, allocations: 6.562 kB / 1.373 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.214, allocations: 7.75 kB / 1.373 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/1.215, allocations: 0.7347 MB / 1.374 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/1.215, allocations: 112.9 kB / 1.374 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/1.215, allocations: 6.641 kB / 1.374 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.215, allocations: 22.59 kB / 1.374 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/1.215, allocations: 31.3 kB / 1.374 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/1.215, allocations: 14.47 kB / 1.374 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001729/1.216, allocations: 192.1 kB / 1.374 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.216, allocations: 7.938 kB / 1.374 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000476/1.216, allocations: 119.1 kB / 1.374 GB, free: 28.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/1.216, allocations: 118.2 kB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004687/1.217, allocations: 362.1 kB / 1.375 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.217, allocations: 3.844 kB / 1.375 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.217, allocations: 96.28 kB / 1.375 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/1.217, allocations: 61.75 kB / 1.375 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/1.218, allocations: 0.5643 MB / 1.375 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/1.219, allocations: 0.8051 MB / 1.376 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001915/1.219, allocations: 48.17 kB / 1.376 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/1.219, allocations: 25.34 kB / 1.376 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.219, allocations: 0 / 1.376 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.006243/1.225, allocations: 3.193 MB / 1.379 GB, free: 26.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches