Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 100.3 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.001264/0.001264, 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.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8762, allocations: 153.6 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.001941/0.8782, allocations: 1.391 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.8797, allocations: 1.228 MB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.8799, allocations: 8 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.519e-05/0.88, allocations: 35.58 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.8802, allocations: 59.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.8806, allocations: 115.8 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.8809, allocations: 277.5 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.8812, allocations: 192.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.8814, allocations: 107.4 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.8815, allocations: 127.2 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.8816, allocations: 16 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.741e-05/0.8816, allocations: 12 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.8817, allocations: 59.69 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.8817, allocations: 89.45 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.8821, allocations: 436.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8821, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8821, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8821, allocations: 0 / 1.025 GB, free: 12.95 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001033/0.8831, allocations: 0.6744 MB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8832, allocations: 8.031 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.8833, allocations: 51.34 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.8837, allocations: 331.3 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.8837, allocations: 36.94 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.8838, allocations: 43.94 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.8845, allocations: 411 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8845, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.8845, allocations: 16 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.8845, allocations: 12 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.8851, allocations: 299.7 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.8871, allocations: 1.394 MB / 1.028 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.8879, allocations: 278.9 kB / 1.028 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.8879, allocations: 4 kB / 1.028 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.888, allocations: 34.5 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.205e-06/0.888, allocations: 0 / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0008321/0.8888, allocations: 327.3 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.8889, allocations: 106.8 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.8895, allocations: 401.6 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.8895, allocations: 33.7 kB / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.8899, allocations: 247.7 kB / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.8899, allocations: 78.89 kB / 1.029 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.89, allocations: 4 kB / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8902, allocations: 346.8 kB / 1.03 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.8905, allocations: 116.6 kB / 1.03 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.8908, allocations: 216.3 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.8911, allocations: 135.9 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8911, allocations: 0 / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007312/0.8919, allocations: 378.6 kB / 1.031 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.8923, allocations: 0.7979 MB / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.8923, allocations: 0 / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.8923, allocations: 8 kB / 1.031 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.8926, allocations: 71.91 kB / 1.031 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8926, allocations: 7.984 kB / 1.031 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.8929, allocations: 59.52 kB / 1.032 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.8929, allocations: 12 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.8929, allocations: 9.562 kB / 1.032 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003832/0.8933, allocations: 259.7 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.8933, allocations: 4 kB / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/0.8933, allocations: 11.92 kB / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.8936, allocations: 55.92 kB / 1.032 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.8936, allocations: 4 kB / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.8938, allocations: 51.84 kB / 1.032 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.8938, allocations: 12 kB / 1.032 GB, free: 5.336 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002121/0.894, allocations: 238.4 kB / 1.032 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.8941, allocations: 35.53 kB / 1.032 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.8946, allocations: 253.1 kB / 1.032 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8946, allocations: 4 kB / 1.032 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8946, allocations: 4 kB / 1.032 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8946, allocations: 3.938 kB / 1.032 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.8958, allocations: 0.8014 MB / 1.033 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8958, allocations: 4 kB / 1.033 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.896, allocations: 51.91 kB / 1.033 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.896, allocations: 0 / 1.033 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.8961, allocations: 4 kB / 1.033 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.8961, allocations: 12.09 kB / 1.033 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8961, allocations: 4 kB / 1.033 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.8968, allocations: 0.5367 MB / 1.034 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.8969, allocations: 124.6 kB / 1.034 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.897, allocations: 4 kB / 1.034 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.8972, allocations: 27.98 kB / 1.034 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.8972, allocations: 19.94 kB / 1.034 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.8972, allocations: 7.984 kB / 1.034 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002711/0.8975, allocations: 279.2 kB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8975, allocations: 0 / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004842/0.898, allocations: 127.5 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001595/0.8982, allocations: 119.1 kB / 1.035 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007219/0.8989, allocations: 393 kB / 1.035 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8989, allocations: 7.938 kB / 1.035 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.8991, allocations: 101.1 kB / 1.035 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.8995, allocations: 63.11 kB / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.9007, allocations: 0.7874 MB / 1.036 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.9011, allocations: 0.8077 MB / 1.037 GB, free: 328 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.9013, allocations: 43.27 kB / 1.037 GB, free: 284 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.9013, allocations: 31.42 kB / 1.037 GB, free: 256 kB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/0.9014, allocations: 0 / 1.037 GB, free: 256 kB / 0.7794 GB Notification: Performance of Templates: time 0.006704/0.9081, allocations: 3.156 MB / 1.04 GB, free: 13.12 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches