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.001381/0.001381, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.00152/0.001521, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003353/1.078, allocations: 1.836 MB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002241/1.081, allocations: 1.267 MB / 1.212 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/1.081, allocations: 7.938 kB / 1.212 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/1.081, allocations: 71.25 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/1.082, allocations: 59.45 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/1.082, allocations: 167.7 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006028/1.083, allocations: 497 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/1.083, allocations: 254.3 kB / 1.213 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/1.084, allocations: 179.3 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/1.084, allocations: 191 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.339e-05/1.084, allocations: 48 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/1.084, allocations: 52 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/1.084, allocations: 115.6 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/1.084, allocations: 206.8 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/1.085, allocations: 0.5564 MB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.085, allocations: 0 / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.056e-06/1.085, allocations: 7.938 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.085, allocations: 4 kB / 1.214 GB, free: 8.137 MB / 0.9356 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.001418/1.086, allocations: 0.7153 MB / 1.215 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.086, allocations: 12.03 kB / 1.215 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.087, allocations: 48.38 kB / 1.215 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/1.087, allocations: 340.3 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.087, allocations: 29.38 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/1.087, allocations: 40.38 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/1.088, allocations: 395.5 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.088, allocations: 192 / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/1.088, allocations: 19.94 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.088, allocations: 11.98 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/1.089, allocations: 271.8 kB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/1.091, allocations: 1.343 MB / 1.217 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/1.092, allocations: 254.8 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/1.092, allocations: 116.8 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.092, allocations: 4 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.092, allocations: 38.55 kB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/1.092, allocations: 3.938 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0007369/1.093, allocations: 311.6 kB / 1.218 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/1.093, allocations: 102.8 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/1.093, allocations: 397.6 kB / 1.218 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.093, allocations: 33.7 kB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.094, allocations: 239.9 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/1.094, allocations: 74.84 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.094, allocations: 65.61 kB / 1.219 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.094, allocations: 350.8 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/1.094, allocations: 120.8 kB / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/1.095, allocations: 210.6 kB / 1.219 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/1.095, allocations: 264.1 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.095, allocations: 0 / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007704/1.096, allocations: 373.1 kB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.096, allocations: 11.88 kB / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.096, allocations: 0 / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.096, allocations: 4 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/1.096, allocations: 75.89 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.096, allocations: 4 kB / 1.22 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/1.097, allocations: 51.56 kB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/1.097, allocations: 12 kB / 1.22 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003044/1.097, allocations: 205.6 kB / 1.22 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002463/1.097, allocations: 170.6 kB / 1.22 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003403/1.097, allocations: 227.2 kB / 1.22 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/1.097, allocations: 0 / 1.22 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005652/1.098, allocations: 318.9 kB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.098, allocations: 15.98 kB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.098, allocations: 7.875 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/1.098, allocations: 4 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.098, allocations: 59.92 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.098, allocations: 11.92 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/1.099, allocations: 39.67 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.099, allocations: 12 kB / 1.221 GB, free: 476 kB / 0.9356 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.000132/1.099, allocations: 196.2 kB / 1.221 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.099, allocations: 35.56 kB / 1.221 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/1.099, allocations: 247.7 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.099, allocations: 4 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.099, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.099, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.101, allocations: 0.856 MB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.101, allocations: 4 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.101, allocations: 51.89 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.101, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/1.101, allocations: 8 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.101, allocations: 7.984 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.101, allocations: 4 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/1.102, allocations: 493.8 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.102, allocations: 124.6 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/1.102, allocations: 8 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.102, allocations: 11.98 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.102, allocations: 31.84 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.102, allocations: 8 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003432/1.103, allocations: 287.2 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.103, allocations: 0 / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005015/1.103, allocations: 119.6 kB / 1.223 GB, free: 13.85 MB / 0.9512 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.0001903/1.103, allocations: 115.2 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008988/1.104, allocations: 402.2 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.104, allocations: 4 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.105, allocations: 104.2 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/1.105, allocations: 75.59 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.107, allocations: 0.7123 MB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/1.107, allocations: 0.7957 MB / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.107, allocations: 31.42 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/1.107, allocations: 3.938 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.007607/1.115, allocations: 4.286 MB / 1.23 GB, free: 7.25 MB / 0.9512 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/jenkins1/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