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.009246/0.009246, allocations: 107.9 kB / 15.74 MB, free: 6.02 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.001908/0.001908, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.565/2.565, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 68.34 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.05, allocations: 151.6 MB / 1.167 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003191/1.054, allocations: 1.852 MB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001841/1.055, allocations: 1.271 MB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/1.056, allocations: 15.94 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/1.056, allocations: 71.25 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/1.056, allocations: 51.47 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/1.057, allocations: 167.7 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/1.057, allocations: 497 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/1.058, allocations: 258.3 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/1.058, allocations: 171.3 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/1.058, allocations: 203 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/1.058, allocations: 48 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/1.058, allocations: 52 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/1.058, allocations: 107.6 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/1.058, allocations: 202.9 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005442/1.059, allocations: 0.5645 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.059, allocations: 4 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/1.059, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.817e-05/1.059, allocations: 0 / 1.172 GB, free: 14.24 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.001279/1.06, allocations: 0.7287 MB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.06, allocations: 12.92 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1.06, allocations: 52.61 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/1.061, allocations: 340.5 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/1.061, allocations: 25.38 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/1.061, allocations: 40.38 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/1.062, allocations: 391.5 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.062, allocations: 192 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/1.062, allocations: 23.92 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/1.062, allocations: 12 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/1.062, allocations: 275.8 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/1.065, allocations: 1.359 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/1.065, allocations: 250.8 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/1.066, allocations: 118.7 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/1.066, allocations: 15.98 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.066, allocations: 30.56 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/1.066, allocations: 4 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0007086/1.066, allocations: 303.7 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/1.066, allocations: 106.8 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/1.067, allocations: 401.7 kB / 1.176 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.067, allocations: 25.7 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/1.067, allocations: 244.3 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/1.067, allocations: 83.31 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.067, allocations: 57.7 kB / 1.177 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.068, allocations: 346.8 kB / 1.177 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/1.068, allocations: 128.7 kB / 1.177 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/1.068, allocations: 203.3 kB / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/1.069, allocations: 265.8 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.069, allocations: 4 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007437/1.07, allocations: 375.2 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.07, allocations: 7.938 kB / 1.178 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.07, allocations: 4 kB / 1.178 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.07, allocations: 160 / 1.178 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/1.07, allocations: 79.89 kB / 1.178 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.07, allocations: 4 kB / 1.178 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/1.07, allocations: 55.64 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/1.07, allocations: 12 kB / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002806/1.07, allocations: 204.1 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/1.071, allocations: 181.6 kB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003348/1.071, allocations: 219.4 kB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/1.071, allocations: 0 / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006128/1.072, allocations: 332.7 kB / 1.179 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.072, allocations: 8 kB / 1.179 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.072, allocations: 3.938 kB / 1.179 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/1.072, allocations: 4.094 kB / 1.179 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/1.072, allocations: 64.06 kB / 1.179 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.072, allocations: 7.984 kB / 1.179 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.072, allocations: 39.83 kB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/1.072, allocations: 11.94 kB / 1.179 GB, free: 6.52 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.0001947/1.073, allocations: 196.2 kB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/1.073, allocations: 39.7 kB / 1.179 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/1.073, allocations: 257.6 kB / 1.18 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.073, allocations: 4 kB / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.073, allocations: 0 / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.073, allocations: 0 / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/1.075, allocations: 0.8405 MB / 1.18 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.075, allocations: 0 / 1.18 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/1.075, allocations: 56.16 kB / 1.181 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.075, allocations: 4 kB / 1.181 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/1.075, allocations: 7.984 kB / 1.181 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.075, allocations: 0 / 1.181 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.075, allocations: 4 kB / 1.181 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/1.076, allocations: 498.9 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.076, allocations: 120.9 kB / 1.181 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/1.076, allocations: 8 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/1.077, allocations: 19.98 kB / 1.181 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.077, allocations: 23.84 kB / 1.181 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.077, allocations: 8 kB / 1.181 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003748/1.077, allocations: 283.2 kB / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.077, allocations: 4 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005895/1.078, allocations: 127.7 kB / 1.182 GB, free: 3.906 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.0002863/1.078, allocations: 111.2 kB / 1.182 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009631/1.079, allocations: 407.5 kB / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.079, allocations: 0 / 1.182 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.079, allocations: 99.83 kB / 1.182 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/1.08, allocations: 83.88 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/1.081, allocations: 0.6967 MB / 1.183 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/1.081, allocations: 0.7918 MB / 1.184 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001586/1.082, allocations: 46.89 kB / 1.184 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/1.082, allocations: 35.42 kB / 1.184 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/1.082, allocations: 0 / 1.184 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of Templates: time 0.009726/1.091, allocations: 3.675 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