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.00112/0.001119, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.01139/0.01139, allocations: 172 kB / 16.26 MB, free: 6.613 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.639/1.639, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.662/2.662, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9532, allocations: 142.4 MB / 0.9551 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00235/0.9556, allocations: 1.489 MB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.9575, allocations: 1.233 MB / 0.9577 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.9578, allocations: 6.875 kB / 0.9577 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.9581, allocations: 57.27 kB / 0.9578 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.9582, allocations: 39.33 kB / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.9587, allocations: 139.9 kB / 0.9579 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.9592, allocations: 457.2 kB / 0.9584 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.9597, allocations: 237.3 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.9599, allocations: 114.1 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.9601, allocations: 146 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.9601, allocations: 15.72 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.9602, allocations: 11.31 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.9602, allocations: 61.14 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.9604, allocations: 176.9 kB / 0.9591 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.9608, allocations: 0.4933 MB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9608, allocations: 1.375 kB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9609, allocations: 0 / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.9609, allocations: 0 / 0.9596 GB, free: 4.168 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.001161/0.962, allocations: 0.6658 MB / 0.9602 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9621, allocations: 8.25 kB / 0.9602 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.9622, allocations: 47.75 kB / 0.9603 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.9626, allocations: 339.2 kB / 0.9606 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.9627, allocations: 40.42 kB / 0.9607 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.9627, allocations: 38.5 kB / 0.9607 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.9634, allocations: 399.4 kB / 0.9611 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9634, allocations: 192 / 0.9611 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.9635, allocations: 20.03 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.9635, allocations: 9.25 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.9641, allocations: 299.2 kB / 0.9614 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.9661, allocations: 1.369 MB / 0.9627 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.967, allocations: 274.7 kB / 0.963 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.9673, allocations: 130 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.9673, allocations: 2.469 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.9673, allocations: 41.16 kB / 0.9632 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.9674, allocations: 0 / 0.9632 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.000828/0.9682, allocations: 330 kB / 0.9635 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.9682, allocations: 110.5 kB / 0.9636 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.9688, allocations: 397.6 kB / 0.964 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.9688, allocations: 32.05 kB / 0.964 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.969, allocations: 238.2 kB / 0.9642 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.969, allocations: 82.88 kB / 0.9643 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.9691, allocations: 34.55 kB / 0.9643 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.9692, allocations: 347.9 kB / 0.9647 GB, free: 244 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.9695, allocations: 119.5 kB / 0.9648 GB, free: 188 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.9699, allocations: 201.3 kB / 0.965 GB, free: 32 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.9709, allocations: 296.5 kB / 0.9652 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9709, allocations: 4.938 kB / 0.9652 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009664/0.9719, allocations: 385.3 kB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.972, allocations: 137.2 kB / 0.9657 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.972, allocations: 1.938 kB / 0.9657 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.9721, allocations: 4.125 kB / 0.9658 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.9724, allocations: 80.67 kB / 0.9658 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.9724, allocations: 2.906 kB / 0.9658 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.9728, allocations: 59.75 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.9728, allocations: 12.91 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9728, allocations: 5.75 kB / 0.9659 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005737/0.9734, allocations: 259 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9734, allocations: 9.891 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.9735, allocations: 3.188 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.9737, allocations: 63.48 kB / 0.9662 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.9737, allocations: 7.859 kB / 0.9662 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.9739, allocations: 45.2 kB / 0.9663 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.974, allocations: 20.77 kB / 0.9663 GB, free: 15.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.9744, allocations: 227 kB / 0.9665 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.9744, allocations: 36.72 kB / 0.9665 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.9752, allocations: 263.3 kB / 0.9668 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.9753, allocations: 10.36 kB / 0.9668 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.9753, allocations: 3.938 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9753, allocations: 0 / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.9775, allocations: 0.8725 MB / 0.9677 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9775, allocations: 1.969 kB / 0.9677 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.9777, allocations: 46.78 kB / 0.9677 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.9777, allocations: 3.406 kB / 0.9677 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.9778, allocations: 12.03 kB / 0.9677 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.9778, allocations: 6.969 kB / 0.9677 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9778, allocations: 5.938 kB / 0.9677 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.9788, allocations: 0.5055 MB / 0.9682 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.9791, allocations: 123.4 kB / 0.9683 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.9791, allocations: 8.312 kB / 0.9684 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.9793, allocations: 25.17 kB / 0.9684 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.9794, allocations: 20.05 kB / 0.9684 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9794, allocations: 6.156 kB / 0.9684 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004469/0.9799, allocations: 288.6 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9799, allocations: 1.188 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005282/0.9804, allocations: 121.3 kB / 0.9688 GB, free: 13.41 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 (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.0002085/0.9806, allocations: 114.3 kB / 0.9689 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009395/0.9816, allocations: 419.7 kB / 0.9693 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9816, allocations: 4.938 kB / 0.9693 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.9818, allocations: 110.9 kB / 0.9694 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.9825, allocations: 74.16 kB / 0.9695 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.9842, allocations: 0.8457 MB / 0.9703 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.985, allocations: 0.7922 MB / 0.9711 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.9852, allocations: 43.83 kB / 0.9711 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.9853, allocations: 36.08 kB / 0.9712 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.9853, allocations: 0 / 0.9712 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.00949/0.9948, allocations: 3.403 MB / 0.9745 GB, free: 9.992 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