Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01104/0.01104, allocations: 100.8 kB / 15.73 MB, free: 5.562 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.0018/0.0018, allocations: 198.6 kB / 16.67 MB, free: 5.504 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 72.12 kB / 0.9509 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.141, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00354/1.145, allocations: 1.844 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002269/1.147, allocations: 1.262 MB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/1.148, allocations: 10.5 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/1.148, allocations: 71.03 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/1.148, allocations: 55.33 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/1.149, allocations: 165.3 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005912/1.149, allocations: 0.4889 MB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/1.15, allocations: 252.8 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/1.15, allocations: 176.7 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/1.15, allocations: 194.8 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/1.15, allocations: 51.09 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/1.15, allocations: 59.75 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/1.15, allocations: 104.3 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/1.151, allocations: 206.4 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006997/1.151, allocations: 0.5609 MB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.151, allocations: 0.9375 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.786e-06/1.151, allocations: 0 / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.151, allocations: 0.9375 kB / 1.093 GB, free: 1.945 MB / 0.8575 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.001327/1.153, allocations: 0.7201 MB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.153, allocations: 9.219 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.153, allocations: 56.52 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/1.153, allocations: 332 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/1.153, allocations: 33 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/1.153, allocations: 41.91 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/1.154, allocations: 397 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.154, allocations: 192 / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.154, allocations: 19.91 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.154, allocations: 10.36 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/1.155, allocations: 280.7 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/1.157, allocations: 1.349 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/1.158, allocations: 247.5 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/1.158, allocations: 118.9 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/1.158, allocations: 3.891 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.159, allocations: 41.67 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/1.159, allocations: 0 / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0008077/1.159, allocations: 301.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/1.159, allocations: 106.4 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/1.16, allocations: 407.9 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/1.16, allocations: 30.86 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.16, allocations: 233.9 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/1.16, allocations: 82.62 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/1.16, allocations: 60.17 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.161, allocations: 347.2 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/1.161, allocations: 122.9 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/1.161, allocations: 206.8 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/1.162, allocations: 265 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.162, allocations: 5.094 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008566/1.163, allocations: 371.1 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.163, allocations: 9.75 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.163, allocations: 2.797 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.163, allocations: 2.688 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/1.163, allocations: 73.14 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.163, allocations: 7.859 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/1.164, allocations: 51.23 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/1.164, allocations: 13.97 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003278/1.164, allocations: 204.7 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002954/1.164, allocations: 176.9 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004391/1.165, allocations: 224.3 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/1.165, allocations: 0 / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006395/1.165, allocations: 330.6 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.165, allocations: 5.719 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.165, allocations: 6.359 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/1.165, allocations: 3.969 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/1.166, allocations: 58.22 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.166, allocations: 4.922 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/1.166, allocations: 44.2 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.166, allocations: 8.219 kB / 1.1 GB, free: 13.4 MB / 0.8731 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.0001815/1.166, allocations: 197.9 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/1.166, allocations: 39 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/1.167, allocations: 256.2 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.167, allocations: 1.906 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.167, allocations: 1.156 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.167, allocations: 1.5 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.169, allocations: 0.8452 MB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.169, allocations: 2.641 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/1.169, allocations: 45.72 kB / 1.102 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.169, allocations: 7.5 kB / 1.102 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/1.169, allocations: 14.39 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.169, allocations: 3.047 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.169, allocations: 2.219 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/1.17, allocations: 489.6 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.17, allocations: 124.7 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/1.17, allocations: 13.69 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/1.17, allocations: 19.95 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/1.17, allocations: 20.55 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.17, allocations: 11.3 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000495/1.171, allocations: 283.3 kB / 1.103 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.71e-07/1.171, allocations: 0.5625 kB / 1.103 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007268/1.172, allocations: 121.7 kB / 1.103 GB, free: 11.83 MB / 0.8731 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.0002278/1.172, allocations: 120.4 kB / 1.103 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.173, allocations: 393.7 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.173, allocations: 5.469 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.173, allocations: 105 kB / 1.103 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/1.174, allocations: 74.16 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.175, allocations: 0.683 MB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/1.176, allocations: 0.7927 MB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002609/1.176, allocations: 48.34 kB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.176, allocations: 29.19 kB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/1.176, allocations: 0 / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.01156/1.188, allocations: 3.756 MB / 1.109 GB, free: 10.08 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches