Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001541/0.001542, allocations: 187 kB / 17.34 MB, free: 5.742 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8765, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004058/0.8806, allocations: 3.62 MB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003714/0.8843, allocations: 2.13 MB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.8849, allocations: 21.5 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.8854, allocations: 176.9 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.8858, allocations: 153 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.887, allocations: 0.5016 MB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.8883, allocations: 1.271 MB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.8893, allocations: 0.592 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005795/0.8899, allocations: 444.2 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.8905, allocations: 484 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.8907, allocations: 133 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.8909, allocations: 146.7 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.8912, allocations: 253 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.8916, allocations: 0.5004 MB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.8934, allocations: 1.434 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8934, allocations: 1.25 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8934, allocations: 0 / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.8935, allocations: 0 / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002817/0.8963, allocations: 1.364 MB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8963, allocations: 9.031 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.8966, allocations: 123.4 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.8975, allocations: 0.6059 MB / 1.102 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.8976, allocations: 68.5 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.8978, allocations: 95.28 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.8995, allocations: 0.861 MB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.8995, allocations: 5.062 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.8996, allocations: 40.89 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.8997, allocations: 21.44 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.9011, allocations: 0.6354 MB / 1.104 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.906, allocations: 2.958 MB / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.9075, allocations: 0.6846 MB / 1.107 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.9082, allocations: 382 kB / 1.108 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.9083, allocations: 9.594 kB / 1.108 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/0.909, allocations: 348.7 kB / 1.108 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 2.515e-06/0.909, allocations: 0 / 1.108 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001831/0.9108, allocations: 0.8295 MB / 1.109 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9109, allocations: 193.4 kB / 1.109 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.9118, allocations: 0.6737 MB / 1.11 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.9119, allocations: 45.48 kB / 1.11 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.9123, allocations: 429.9 kB / 1.11 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.9124, allocations: 231.2 kB / 1.111 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.9127, allocations: 143.3 kB / 1.111 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9128, allocations: 341.4 kB / 1.111 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.9135, allocations: 292.2 kB / 1.111 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.9143, allocations: 481.9 kB / 1.112 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.9156, allocations: 0.6743 MB / 1.112 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9156, allocations: 5.344 kB / 1.112 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002016/0.9176, allocations: 0.8775 MB / 1.113 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.9177, allocations: 40.83 kB / 1.113 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9177, allocations: 7.406 kB / 1.113 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.9177, allocations: 6.438 kB / 1.113 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.9184, allocations: 161.5 kB / 1.113 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.9184, allocations: 11.11 kB / 1.113 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.9191, allocations: 142.9 kB / 1.114 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.9192, allocations: 34.06 kB / 1.114 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007025/0.9199, allocations: 396.2 kB / 1.114 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005632/0.9204, allocations: 418.2 kB / 1.114 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008237/0.9213, allocations: 0.5632 MB / 1.115 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.9213, allocations: 1.344 kB / 1.115 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001336/0.9226, allocations: 0.7666 MB / 1.116 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.9227, allocations: 36.72 kB / 1.116 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9227, allocations: 2.438 kB / 1.116 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.9227, allocations: 10.98 kB / 1.116 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.9232, allocations: 136.6 kB / 1.116 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.9232, allocations: 11.06 kB / 1.116 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.9238, allocations: 111.5 kB / 1.116 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.9239, allocations: 31.69 kB / 1.116 GB, free: 5.102 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002313/0.9241, allocations: 228 kB / 1.116 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9242, allocations: 80.48 kB / 1.116 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.9256, allocations: 0.6589 MB / 1.117 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.9257, allocations: 7.938 kB / 1.117 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9257, allocations: 0 / 1.117 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.9257, allocations: 3.375 kB / 1.117 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.9285, allocations: 1.666 MB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9285, allocations: 6.438 kB / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.9291, allocations: 130.5 kB / 1.119 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.9291, allocations: 4.75 kB / 1.119 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.9291, allocations: 17.55 kB / 1.119 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.9291, allocations: 6.328 kB / 1.119 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.9291, allocations: 6.438 kB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.931, allocations: 1.091 MB / 1.12 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.9313, allocations: 171.5 kB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.9314, allocations: 14.83 kB / 1.12 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.9317, allocations: 53.23 kB / 1.12 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.9318, allocations: 46.8 kB / 1.12 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.9319, allocations: 23.31 kB / 1.12 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000598/0.9325, allocations: 483 kB / 1.121 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9325, allocations: 96 / 1.121 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000915/0.9334, allocations: 327.6 kB / 1.121 GB, free: 2.555 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002207/0.9336, allocations: 130.1 kB / 1.121 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.9358, allocations: 1.149 MB / 1.122 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.9358, allocations: 1.156 kB / 1.122 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.9364, allocations: 320.5 kB / 1.122 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.9374, allocations: 188.1 kB / 1.123 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.94, allocations: 1.516 MB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.9406, allocations: 0.9793 MB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.9409, allocations: 65.8 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.9409, allocations: 0 / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of Templates: time 0.02338/0.9643, allocations: 10.19 MB / 1.135 GB, free: 15.02 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches