Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002191/0.002192, allocations: 201.4 kB / 16.14 MB, free: 6.797 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.556/1.556, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.929/2.929, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.91 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7359, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003778/0.7397, allocations: 1.876 MB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.7421, allocations: 1.24 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.7424, allocations: 11.94 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.7428, allocations: 55.52 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.7429, allocations: 39.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.7434, allocations: 139.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.7439, allocations: 445.1 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.7445, allocations: 263.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.7447, allocations: 151.2 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.745, allocations: 183 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.745, allocations: 28 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.7451, allocations: 24 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.7452, allocations: 83.56 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.7454, allocations: 186.9 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.746, allocations: 0.5313 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7461, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7461, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.7461, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001602/0.7477, allocations: 0.7446 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.7477, allocations: 8.031 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.7479, allocations: 48.38 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.7484, allocations: 344.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.7484, allocations: 37.31 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.7485, allocations: 36.38 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/0.7493, allocations: 415.5 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.7493, allocations: 4.172 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.7494, allocations: 19.94 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.7494, allocations: 8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.75, allocations: 287.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.7524, allocations: 1.374 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.7532, allocations: 246.9 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.7534, allocations: 122.8 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.7535, allocations: 4 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.7535, allocations: 34.56 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.7535, allocations: 0 / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007622/0.7543, allocations: 298.7 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.7544, allocations: 110.8 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.7549, allocations: 409.6 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.755, allocations: 29.7 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.7552, allocations: 255.6 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.7553, allocations: 74.98 kB / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.7554, allocations: 62.03 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7556, allocations: 346.8 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.7559, allocations: 118.1 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.7562, allocations: 208.3 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.7567, allocations: 277 kB / 1.027 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7568, allocations: 0 / 1.027 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007406/0.7575, allocations: 366.3 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7575, allocations: 8 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7576, allocations: 0 / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.7576, allocations: 7.938 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.7579, allocations: 75.89 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7579, allocations: 4 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.7582, allocations: 55.5 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.7582, allocations: 16.03 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003024/0.7585, allocations: 200.8 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/0.7588, allocations: 191.6 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/0.7592, allocations: 233.6 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.7592, allocations: 4 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005339/0.7597, allocations: 312.9 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7597, allocations: 4 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7597, allocations: 8 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.7597, allocations: 4 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.76, allocations: 67.84 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.76, allocations: 4 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.7602, allocations: 39.95 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.7602, allocations: 12 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001698/0.7604, allocations: 196.2 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.7605, allocations: 31.62 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.761, allocations: 258.8 kB / 1.029 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.7611, allocations: 3.938 kB / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7611, allocations: 0 / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7611, allocations: 0 / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.7625, allocations: 0.791 MB / 1.03 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7625, allocations: 0 / 1.03 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.7627, allocations: 43.91 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.7627, allocations: 4 kB / 1.03 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.7628, allocations: 8 kB / 1.03 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7628, allocations: 0 / 1.03 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7628, allocations: 4 kB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.7636, allocations: 465.3 kB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7637, allocations: 120.6 kB / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.7637, allocations: 11.98 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.7639, allocations: 15.98 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.764, allocations: 15.92 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.764, allocations: 8 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003445/0.7644, allocations: 287.2 kB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7644, allocations: 4 kB / 1.031 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000509/0.7649, allocations: 131.4 kB / 1.031 GB, free: 3.195 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001972/0.7651, allocations: 111.7 kB / 1.031 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008418/0.7659, allocations: 390.5 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.7659, allocations: 0 / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.7661, allocations: 91.89 kB / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.7668, allocations: 71.75 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.7683, allocations: 0.817 MB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.7688, allocations: 0.7999 MB / 1.034 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.769, allocations: 43.27 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.7691, allocations: 31.42 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7691, allocations: 0 / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of Templates: time 0.008419/0.7776, allocations: 3.31 MB / 1.037 GB, free: 13.49 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches