Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001035/0.001035, allocations: 188.1 kB / 492.3 MB, free: 0.5938 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.679/1.679, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001071/0.001071, allocations: 99.83 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.553e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9728/1.262, allocations: 150.3 MB / 1.359 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/1.262, allocations: 76.52 kB / 1.359 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01614/1.278, allocations: 6.732 MB / 1.366 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.278, allocations: 0 / 1.366 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.162e-05/1.278, allocations: 11.81 kB / 1.366 GB, free: 34.21 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.0007633/1.279, allocations: 0.6012 MB / 1.366 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.279, allocations: 14.02 kB / 1.366 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/1.279, allocations: 50.56 kB / 1.367 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/1.28, allocations: 329.3 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/1.28, allocations: 33.41 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/1.28, allocations: 37.31 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/1.28, allocations: 358.6 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.28, allocations: 0 / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.28, allocations: 15.53 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.28, allocations: 7.688 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/1.281, allocations: 236.5 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/1.282, allocations: 1.29 MB / 1.369 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/1.283, allocations: 213.3 kB / 1.369 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.283, allocations: 133 kB / 1.369 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.283, allocations: 4.141 kB / 1.369 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/1.283, allocations: 171.2 kB / 1.369 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/1.283, allocations: 0 / 1.369 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003619/1.283, allocations: 237.7 kB / 1.369 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.284, allocations: 135.1 kB / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/1.284, allocations: 340.5 kB / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.284, allocations: 33.61 kB / 1.37 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.284, allocations: 209.5 kB / 1.37 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/1.284, allocations: 97.48 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/1.284, allocations: 3.75 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.284, allocations: 356.4 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.284, allocations: 95.75 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/1.284, allocations: 164.4 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.285, allocations: 113.2 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.285, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003861/1.285, allocations: 303 kB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.285, allocations: 452.9 kB / 1.372 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.285, allocations: 2.766 kB / 1.372 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.285, allocations: 3.969 kB / 1.372 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/1.286, allocations: 71.52 kB / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.286, allocations: 7.875 kB / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/1.286, allocations: 61.52 kB / 1.372 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.286, allocations: 11.44 kB / 1.372 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/1.286, allocations: 3.844 kB / 1.372 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003078/1.286, allocations: 247.4 kB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/1.286, allocations: 4.094 kB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/1.286, allocations: 7.906 kB / 1.372 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.286, allocations: 58.86 kB / 1.372 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.286, allocations: 7.859 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.287, allocations: 40.55 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.287, allocations: 11.09 kB / 1.372 GB, free: 31.2 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 8.409e-05/1.287, allocations: 122 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/1.287, allocations: 38.84 kB / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/1.287, allocations: 266.8 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.287, allocations: 3.844 kB / 1.373 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.287, allocations: 3.953 kB / 1.373 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.287, allocations: 2.203 kB / 1.373 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/1.288, allocations: 1.038 MB / 1.374 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.288, allocations: 3.812 kB / 1.374 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/1.289, allocations: 65.16 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.289, allocations: 7.688 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/1.289, allocations: 7.281 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.289, allocations: 11.62 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.289, allocations: 3.812 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/1.289, allocations: 0.7642 MB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/1.289, allocations: 122.4 kB / 1.375 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/1.289, allocations: 14.48 kB / 1.375 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.29, allocations: 29.88 kB / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/1.29, allocations: 28.3 kB / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.29, allocations: 11.62 kB / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002314/1.29, allocations: 265.5 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.29, allocations: 0 / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004553/1.29, allocations: 122.9 kB / 1.375 GB, free: 29.66 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.0001703/1.291, allocations: 120.2 kB / 1.375 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005009/1.291, allocations: 388.3 kB / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.291, allocations: 0 / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/1.291, allocations: 106.5 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/1.292, allocations: 75.81 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.293, allocations: 0.5895 MB / 1.376 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/1.293, allocations: 0.8142 MB / 1.377 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.293, allocations: 56.73 kB / 1.377 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/1.294, allocations: 31.98 kB / 1.377 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.294, allocations: 0 / 1.377 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.007293/1.301, allocations: 3.811 MB / 1.381 GB, free: 28.22 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches