Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000805/0.0008047, allocations: 90.52 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.432e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1863, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6722/0.8586, allocations: 133.9 MB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.8589, allocations: 79.39 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01968/0.8786, allocations: 7.963 MB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8787, allocations: 0 / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.8787, allocations: 12 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008375/0.8796, allocations: 0.6326 MB / 1.031 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8796, allocations: 8.031 kB / 1.031 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.8797, allocations: 47.44 kB / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.8803, allocations: 395.5 kB / 1.032 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.8804, allocations: 28.78 kB / 1.032 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.8804, allocations: 34.81 kB / 1.032 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.881, allocations: 366.1 kB / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.881, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.881, allocations: 15 kB / 1.032 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.8811, allocations: 8 kB / 1.032 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.8814, allocations: 242.2 kB / 1.032 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.8832, allocations: 1.425 MB / 1.034 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.8839, allocations: 286.2 kB / 1.034 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.8841, allocations: 111.2 kB / 1.034 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.8841, allocations: 4 kB / 1.034 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.8842, allocations: 30.56 kB / 1.034 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.8842, allocations: 0 / 1.034 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0004016/0.8846, allocations: 231.8 kB / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.8847, allocations: 110.8 kB / 1.034 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.885, allocations: 354.7 kB / 1.035 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.8851, allocations: 36.95 kB / 1.035 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.8852, allocations: 233.3 kB / 1.035 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.8853, allocations: 88.95 kB / 1.035 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.8853, allocations: 7.25 kB / 1.035 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8855, allocations: 351.9 kB / 1.035 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.8856, allocations: 83.56 kB / 1.035 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.8858, allocations: 160 kB / 1.036 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.886, allocations: 103.7 kB / 1.036 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.886, allocations: 4 kB / 1.036 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004326/0.8864, allocations: 300.6 kB / 1.036 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.8866, allocations: 447.4 kB / 1.036 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8866, allocations: 3.984 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8866, allocations: 7.938 kB / 1.036 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.8869, allocations: 67.41 kB / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.8869, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.8872, allocations: 66.31 kB / 1.037 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.8872, allocations: 10.94 kB / 1.037 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.8872, allocations: 11.88 kB / 1.037 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003289/0.8875, allocations: 222.5 kB / 1.037 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.8875, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.87e-06/0.8876, allocations: 8.094 kB / 1.037 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.8878, allocations: 55.8 kB / 1.037 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.8878, allocations: 4 kB / 1.037 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.8879, allocations: 39.36 kB / 1.037 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.888, allocations: 7.5 kB / 1.037 GB, free: 4.395 MB / 0.6511 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 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.602e-05/0.8881, allocations: 126.6 kB / 1.037 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.8881, allocations: 38.7 kB / 1.037 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.8882, allocations: 54.06 kB / 1.037 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.8882, allocations: 4 kB / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8883, allocations: 0 / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8883, allocations: 0 / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.8894, allocations: 0.8451 MB / 1.038 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8894, allocations: 4 kB / 1.038 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.8897, allocations: 59.16 kB / 1.038 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8897, allocations: 7.953 kB / 1.038 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.8897, allocations: 6.875 kB / 1.038 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.8897, allocations: 8.281 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8897, allocations: 3.938 kB / 1.038 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.8904, allocations: 0.5912 MB / 1.039 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.8905, allocations: 123.1 kB / 1.039 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.8906, allocations: 11.36 kB / 1.039 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.8908, allocations: 27.3 kB / 1.039 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.8908, allocations: 27.25 kB / 1.039 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.8908, allocations: 11.44 kB / 1.039 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002685/0.8911, allocations: 278 kB / 1.039 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8911, allocations: 0 / 1.039 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000422/0.8915, allocations: 129.3 kB / 1.039 GB, free: 2.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001807/0.8917, allocations: 116.8 kB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.8922, allocations: 359.5 kB / 1.04 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8923, allocations: 0 / 1.04 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.8924, allocations: 101.5 kB / 1.04 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.8929, allocations: 92.52 kB / 1.04 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.8939, allocations: 0.5689 MB / 1.04 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8943, allocations: 0.8122 MB / 1.041 GB, free: 380 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.8946, allocations: 63.23 kB / 1.041 GB, free: 320 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.8946, allocations: 34.73 kB / 1.041 GB, free: 292 kB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.8946, allocations: 0 / 1.041 GB, free: 292 kB / 0.6511 GB Notification: Performance of Templates: time 0.007495/0.9021, allocations: 4.12 MB / 1.045 GB, free: 12.22 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches