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.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.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.001354/0.001354, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.00138/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.862/2.862, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8712, allocations: 153.7 MB / 1.021 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002089/0.8733, allocations: 1.395 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.8754, allocations: 1.225 MB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.8758, allocations: 8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.8759, allocations: 31.64 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.8763, allocations: 71.7 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.8767, allocations: 115.8 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.8773, allocations: 277.5 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.8777, allocations: 170.7 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.8779, allocations: 111.4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.8781, allocations: 135.2 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.8781, allocations: 12 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.04e-05/0.8781, allocations: 12 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.8782, allocations: 59.69 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.8783, allocations: 89.45 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.8786, allocations: 413 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.8787, allocations: 4 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8787, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.8787, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 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.001151/0.8798, allocations: 0.6667 MB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8799, allocations: 15.98 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.88, allocations: 47.38 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.8804, allocations: 327.2 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.8805, allocations: 29 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.8805, allocations: 39.94 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.8812, allocations: 399 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8812, allocations: 0 / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.8812, allocations: 16 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8812, allocations: 8 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.8818, allocations: 291.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.8839, allocations: 1.37 MB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.8847, allocations: 275.3 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.8848, allocations: 8.25 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8848, allocations: 42.73 kB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.8848, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0006986/0.8855, allocations: 320.3 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.8856, allocations: 106.8 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.886, allocations: 397.6 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.886, allocations: 33.7 kB / 1.029 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.8862, allocations: 239.9 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.8863, allocations: 74.84 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.8863, allocations: 8 kB / 1.029 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8864, allocations: 346.8 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.8867, allocations: 119.9 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.8871, allocations: 217 kB / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.8874, allocations: 141.6 kB / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8874, allocations: 0 / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007265/0.8881, allocations: 388.9 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.8884, allocations: 0.6097 MB / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8884, allocations: 0 / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8885, allocations: 8 kB / 1.031 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.8888, allocations: 75.89 kB / 1.031 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.8888, allocations: 8 kB / 1.031 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.8891, allocations: 63.56 kB / 1.031 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.8891, allocations: 15.95 kB / 1.031 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.8891, allocations: 6.031 kB / 1.031 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004487/0.8896, allocations: 262.6 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.8896, allocations: 0 / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.8896, allocations: 11.94 kB / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.8898, allocations: 55.92 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8898, allocations: 4 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.89, allocations: 47.83 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.89, allocations: 8 kB / 1.032 GB, free: 5.793 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.8902, allocations: 241 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.8903, allocations: 35.53 kB / 1.032 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.8908, allocations: 267.2 kB / 1.032 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.8908, allocations: 7.938 kB / 1.032 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8909, allocations: 0 / 1.032 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8909, allocations: 0 / 1.032 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.8922, allocations: 0.8676 MB / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8923, allocations: 0 / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.8925, allocations: 56.22 kB / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8925, allocations: 4 kB / 1.033 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.8925, allocations: 4 kB / 1.033 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.8925, allocations: 7.938 kB / 1.033 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8925, allocations: 0 / 1.033 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.8933, allocations: 0.6008 MB / 1.034 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.8934, allocations: 124.7 kB / 1.034 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.8935, allocations: 8 kB / 1.034 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.8937, allocations: 27.98 kB / 1.034 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.8937, allocations: 15.94 kB / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.8937, allocations: 11.98 kB / 1.034 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002775/0.894, allocations: 279.2 kB / 1.034 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.894, allocations: 0 / 1.034 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004868/0.8945, allocations: 127.5 kB / 1.034 GB, free: 2.926 MB / 0.7794 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 (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.0001559/0.8947, allocations: 115.2 kB / 1.034 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.8955, allocations: 411.7 kB / 1.035 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8955, allocations: 0 / 1.035 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.8957, allocations: 109 kB / 1.035 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.8962, allocations: 71.03 kB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.8975, allocations: 0.7999 MB / 1.036 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.8979, allocations: 0.8037 MB / 1.037 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.8981, allocations: 47.08 kB / 1.037 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.8982, allocations: 31.44 kB / 1.037 GB, free: 496 kB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8982, allocations: 0 / 1.037 GB, free: 496 kB / 0.7794 GB Notification: Performance of Templates: time 0.007103/0.9053, allocations: 3.281 MB / 1.04 GB, free: 13.23 MB / 0.795 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches