Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.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.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006173/0.006173, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001199/0.001199, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.9 MB / 0.7347 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.83 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3793, allocations: 157.4 MB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003325/0.3827, allocations: 1.846 MB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3845, allocations: 1.256 MB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3847, allocations: 8 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3849, allocations: 71.2 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.3851, allocations: 63.45 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.3855, allocations: 174.3 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.386, allocations: 493 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.3865, allocations: 254.3 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3866, allocations: 179.3 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3869, allocations: 195 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.3869, allocations: 52 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.387, allocations: 52 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.3871, allocations: 111.7 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3873, allocations: 198.8 kB / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.3878, allocations: 0.5643 MB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3878, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3878, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.3878, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 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.001312/0.3892, allocations: 0.7184 MB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3892, allocations: 8.625 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.3893, allocations: 48.38 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.3898, allocations: 344.2 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.3898, allocations: 33.38 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.3899, allocations: 36.38 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.3906, allocations: 387.6 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3906, allocations: 192 / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.3906, allocations: 19.94 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3906, allocations: 12 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.3912, allocations: 275.8 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3932, allocations: 1.347 MB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3942, allocations: 254.6 kB / 1.217 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3945, allocations: 122.3 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3946, allocations: 3.938 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3946, allocations: 42.56 kB / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.3946, allocations: 0 / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0008164/0.3954, allocations: 303.2 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.3956, allocations: 114.7 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.3963, allocations: 393.7 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.3963, allocations: 33.7 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3966, allocations: 247.8 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.3967, allocations: 63.02 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3968, allocations: 69.59 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.397, allocations: 346.8 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3973, allocations: 120.8 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.3978, allocations: 206.6 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.3987, allocations: 271 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3987, allocations: 0 / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001068/0.3998, allocations: 370.3 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3998, allocations: 7.938 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3998, allocations: 7.984 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3999, allocations: 4 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.4003, allocations: 63.91 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4004, allocations: 8.156 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.4007, allocations: 55.59 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.4008, allocations: 8 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004509/0.4012, allocations: 208.1 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003807/0.4016, allocations: 181.7 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005291/0.4022, allocations: 226.8 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4022, allocations: 7.938 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0007952/0.403, allocations: 320.9 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.403, allocations: 4 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.403, allocations: 3.938 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.4031, allocations: 4 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.4034, allocations: 63.91 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4035, allocations: 4 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.4038, allocations: 43.88 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.4038, allocations: 12 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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 0.000201/0.404, allocations: 196.2 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.4041, allocations: 35.66 kB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.4049, allocations: 259.3 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4049, allocations: 0 / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4049, allocations: 0 / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.405, allocations: 0 / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.407, allocations: 0.852 MB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.407, allocations: 3.938 kB / 1.222 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.4073, allocations: 47.91 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4073, allocations: 4 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4073, allocations: 12.25 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4074, allocations: 4 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.4074, allocations: 3.938 kB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4085, allocations: 487.9 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4087, allocations: 128.6 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.4087, allocations: 8 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.4091, allocations: 23.98 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.4091, allocations: 19.92 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.4092, allocations: 8 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004325/0.4096, allocations: 283.2 kB / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4096, allocations: 0 / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007947/0.4104, allocations: 127.5 kB / 1.223 GB, free: 9.754 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.00024/0.4107, allocations: 115.2 kB / 1.223 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.4119, allocations: 401.8 kB / 1.223 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.4119, allocations: 4.125 kB / 1.223 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.4122, allocations: 95.83 kB / 1.223 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.413, allocations: 83.56 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4154, allocations: 0.6888 MB / 1.224 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.416, allocations: 0.7995 MB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.4162, allocations: 42.95 kB / 1.225 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4164, allocations: 27.44 kB / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.4164, allocations: 0 / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.01219/0.4286, allocations: 3.683 MB / 1.228 GB, free: 3.785 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches