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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008946/0.0008948, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8837, allocations: 142.4 MB / 0.9545 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001743/0.8854, allocations: 1.386 MB / 0.9558 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.8869, allocations: 1.221 MB / 0.957 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.8871, allocations: 7.625 kB / 0.957 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.8872, allocations: 52.58 kB / 0.9571 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.8874, allocations: 31.97 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.8877, allocations: 112.6 kB / 0.9572 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.888, allocations: 431.5 kB / 0.9576 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.8883, allocations: 172.7 kB / 0.9578 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.8884, allocations: 110.4 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.8886, allocations: 133.7 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.8886, allocations: 11.94 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.8886, allocations: 12.66 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.8887, allocations: 51.58 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.8888, allocations: 83.98 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.889, allocations: 428.9 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.889, allocations: 0 / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8891, allocations: 3.938 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.8891, allocations: 4 kB / 0.9586 GB, free: 4.477 MB / 0.7169 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.0009926/0.8901, allocations: 0.666 MB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8901, allocations: 9.469 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.8902, allocations: 54.64 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.8906, allocations: 324.8 kB / 0.9596 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.8906, allocations: 32.12 kB / 0.9596 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.8907, allocations: 38.12 kB / 0.9597 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.8913, allocations: 395.9 kB / 0.96 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.8914, allocations: 5.375 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.8914, allocations: 10.75 kB / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8914, allocations: 9.625 kB / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.892, allocations: 296.1 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.8939, allocations: 1.369 MB / 0.9617 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/0.8947, allocations: 273.8 kB / 0.9619 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.895, allocations: 133.6 kB / 0.9621 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.895, allocations: 2.375 kB / 0.9621 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.895, allocations: 32.53 kB / 0.9621 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.235e-06/0.895, allocations: 7.922 kB / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0009047/0.896, allocations: 330.7 kB / 0.9624 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.896, allocations: 109.6 kB / 0.9625 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.8965, allocations: 398.8 kB / 0.9629 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.8966, allocations: 32.02 kB / 0.9629 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.8967, allocations: 234.9 kB / 0.9632 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.8968, allocations: 79.94 kB / 0.9632 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.8968, allocations: 9.188 kB / 0.9633 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.8969, allocations: 346.5 kB / 0.9636 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.8972, allocations: 124.7 kB / 0.9637 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.8975, allocations: 207 kB / 0.9639 GB, free: 380 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.8978, allocations: 138.9 kB / 0.964 GB, free: 316 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.8978, allocations: 0 / 0.964 GB, free: 316 kB / 0.7169 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006885/0.8985, allocations: 380.4 kB / 0.9644 GB, free: 120 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.8987, allocations: 141.7 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8987, allocations: 1.219 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.8987, allocations: 4.281 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.899, allocations: 76.89 kB / 0.9646 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8991, allocations: 7.344 kB / 0.9646 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.8993, allocations: 59.91 kB / 0.9647 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.8994, allocations: 8.844 kB / 0.9647 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8994, allocations: 5.094 kB / 0.9647 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005339/0.8999, allocations: 269.5 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8999, allocations: 1.094 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.9, allocations: 3.938 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.9002, allocations: 55.86 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.9002, allocations: 7.734 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.9004, allocations: 46.83 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.9004, allocations: 7.5 kB / 0.9651 GB, free: 15.73 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.9007, allocations: 243.1 kB / 0.9653 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.9008, allocations: 35.69 kB / 0.9653 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.9014, allocations: 268.6 kB / 0.9656 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9014, allocations: 1.938 kB / 0.9656 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9014, allocations: 1 kB / 0.9656 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.9014, allocations: 0 / 0.9656 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.9028, allocations: 0.8643 MB / 0.9664 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.9029, allocations: 6 kB / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.9031, allocations: 53.81 kB / 0.9665 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9031, allocations: 3 kB / 0.9665 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.9031, allocations: 8.766 kB / 0.9665 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9031, allocations: 7.406 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.9031, allocations: 6.562 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.9039, allocations: 0.4997 MB / 0.967 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.9041, allocations: 115.1 kB / 0.9671 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.9041, allocations: 16.77 kB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.9043, allocations: 28.64 kB / 0.9672 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.9043, allocations: 14.98 kB / 0.9672 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9044, allocations: 10.98 kB / 0.9672 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003718/0.9047, allocations: 278.4 kB / 0.9674 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9048, allocations: 3.938 kB / 0.9675 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007473/0.9055, allocations: 125.2 kB / 0.9676 GB, free: 13.87 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.9057, allocations: 123 kB / 0.9677 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.9068, allocations: 407.5 kB / 0.9681 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9068, allocations: 1.375 kB / 0.9681 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.9071, allocations: 108.1 kB / 0.9682 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.9079, allocations: 69.61 kB / 0.9682 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.9099, allocations: 0.8063 MB / 0.969 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.9107, allocations: 0.7921 MB / 0.9698 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.9109, allocations: 50.41 kB / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.911, allocations: 28.41 kB / 0.9699 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 6.011e-06/0.9111, allocations: 0 / 0.9699 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.01107/0.9221, allocations: 3.282 MB / 0.9731 GB, free: 10.55 MB / 0.7325 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