Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007547/0.007547, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001286/0.001286, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.09 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 151.6 MB / 1.167 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002981/1.063, allocations: 1.85 MB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001644/1.065, allocations: 1.271 MB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/1.065, allocations: 8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/1.065, allocations: 75.19 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/1.065, allocations: 55.45 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/1.066, allocations: 167.7 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/1.066, allocations: 493 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/1.066, allocations: 258.3 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/1.067, allocations: 175.3 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/1.067, allocations: 199 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/1.067, allocations: 52 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/1.067, allocations: 48 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/1.067, allocations: 107.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/1.067, allocations: 206.8 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/1.068, allocations: 0.5607 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.068, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/1.068, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.435e-06/1.068, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 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.0013/1.069, allocations: 0.7326 MB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.069, allocations: 8.922 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/1.069, allocations: 56.61 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/1.07, allocations: 344.5 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/1.07, allocations: 29.38 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/1.07, allocations: 36.38 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/1.071, allocations: 387.6 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.071, allocations: 4.188 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/1.071, allocations: 19.94 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.071, allocations: 12 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/1.071, allocations: 279.8 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/1.073, allocations: 1.355 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/1.074, allocations: 254.8 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/1.074, allocations: 120 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/1.074, allocations: 7.984 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.074, allocations: 34.56 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/1.074, allocations: 3.938 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0007496/1.075, allocations: 306.5 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.075, allocations: 118.8 kB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/1.076, allocations: 393.7 kB / 1.176 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.076, allocations: 25.7 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/1.076, allocations: 244.3 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/1.076, allocations: 79.33 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/1.076, allocations: 57.7 kB / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.076, allocations: 346.8 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.077, allocations: 124.8 kB / 1.177 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.077, allocations: 207.3 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/1.078, allocations: 270 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.078, allocations: 0 / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007297/1.078, allocations: 370.8 kB / 1.178 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.078, allocations: 7.938 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.078, allocations: 8.156 kB / 1.178 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.078, allocations: 4 kB / 1.178 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/1.079, allocations: 71.89 kB / 1.178 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.079, allocations: 4 kB / 1.178 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/1.079, allocations: 51.66 kB / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/1.079, allocations: 15.98 kB / 1.178 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002786/1.079, allocations: 208 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002413/1.08, allocations: 181.7 kB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003261/1.08, allocations: 220.3 kB / 1.179 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/1.08, allocations: 0 / 1.179 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005307/1.08, allocations: 330.3 kB / 1.179 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/1.08, allocations: 4 kB / 1.179 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.08, allocations: 12.08 kB / 1.179 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/1.08, allocations: 4 kB / 1.179 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.081, allocations: 55.92 kB / 1.179 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.081, allocations: 4 kB / 1.179 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/1.081, allocations: 43.81 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/1.081, allocations: 8 kB / 1.179 GB, free: 6.531 MB / 0.9044 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.0001403/1.081, allocations: 200.2 kB / 1.179 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/1.081, allocations: 39.7 kB / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/1.082, allocations: 257.6 kB / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.082, allocations: 0 / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.082, allocations: 0 / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.082, allocations: 0 / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.083, allocations: 0.8417 MB / 1.18 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.083, allocations: 4.25 kB / 1.18 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/1.083, allocations: 51.91 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.083, allocations: 7.938 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/1.084, allocations: 4 kB / 1.181 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.084, allocations: 7.984 kB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.084, allocations: 3.938 kB / 1.181 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/1.084, allocations: 0.4921 MB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/1.084, allocations: 116.9 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/1.084, allocations: 8 kB / 1.181 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.085, allocations: 19.98 kB / 1.181 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/1.085, allocations: 15.92 kB / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.085, allocations: 15.98 kB / 1.181 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002888/1.085, allocations: 283.2 kB / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004813/1.085, allocations: 123.7 kB / 1.182 GB, free: 3.918 MB / 0.9044 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.0001793/1.086, allocations: 115.2 kB / 1.182 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008687/1.087, allocations: 403.1 kB / 1.182 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.087, allocations: 0 / 1.182 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/1.087, allocations: 108.8 kB / 1.182 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/1.087, allocations: 82.56 kB / 1.182 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.089, allocations: 0.6877 MB / 1.183 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/1.089, allocations: 0.7918 MB / 1.184 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001784/1.089, allocations: 47.12 kB / 1.184 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/1.09, allocations: 35.42 kB / 1.184 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/1.09, allocations: 0 / 1.184 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of Templates: time 0.008166/1.098, allocations: 3.691 MB / 1.187 GB, free: 13.91 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches