Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001722/0.001723, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.73/2.73, allocations: 437 MB / 0.71 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.09 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6562, 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.PIDInitialDerivativeOutput): time 0.002945/0.6592, allocations: 1.886 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.6608, allocations: 1.236 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.661, allocations: 8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.6612, allocations: 55.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.6614, allocations: 35.78 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.6618, allocations: 139.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.6622, allocations: 497 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.6626, allocations: 250.3 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.6627, allocations: 175.2 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.6629, allocations: 195 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.663, allocations: 55.94 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.6631, allocations: 56 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.6631, allocations: 103.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.6633, allocations: 214.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.6637, allocations: 0.5314 MB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6638, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6638, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.6638, allocations: 0 / 1.022 GB, free: 13.35 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001195/0.665, allocations: 0.7213 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.665, allocations: 8.031 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.6651, allocations: 52.31 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.6655, allocations: 336.3 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.6656, allocations: 29.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.6656, allocations: 44.31 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.6663, allocations: 387.6 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6663, allocations: 4.172 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.6664, allocations: 23.92 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.6664, allocations: 12 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.667, allocations: 279.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.6691, allocations: 1.351 MB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.6699, allocations: 255.5 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.6702, allocations: 116.8 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.6702, allocations: 3.984 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6702, allocations: 42.56 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.6702, allocations: 0 / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0007095/0.671, allocations: 304.2 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.671, allocations: 106.8 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.6715, allocations: 405.5 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.6715, allocations: 29.7 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.6717, allocations: 235.9 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.6718, allocations: 78.83 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.6719, allocations: 69.7 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6721, allocations: 350.7 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.6724, allocations: 124.7 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.6727, allocations: 193.1 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.6733, allocations: 273.2 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6733, allocations: 7.938 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007634/0.6741, allocations: 367.4 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6741, allocations: 11.94 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6741, allocations: 0 / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6741, allocations: 4 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.6744, allocations: 72.05 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6745, allocations: 4 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.6747, allocations: 55.56 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.6747, allocations: 15.98 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003026/0.6751, allocations: 200.1 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002534/0.6753, allocations: 190.3 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003232/0.6757, allocations: 223.3 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.6757, allocations: 4 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005457/0.6762, allocations: 320.9 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.6762, allocations: 4 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6762, allocations: 7.938 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.6762, allocations: 0 / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.6765, allocations: 60.08 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6765, allocations: 11.98 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.6767, allocations: 35.77 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.6768, allocations: 15.94 kB / 1.029 GB, free: 5.645 MB / 0.7794 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.0001361/0.6769, allocations: 196.7 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.677, allocations: 39.47 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.6775, allocations: 252.9 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6775, allocations: 0 / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6775, allocations: 0 / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6776, allocations: 4 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.679, allocations: 0.8481 MB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.679, allocations: 4 kB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.6792, allocations: 48.25 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6792, allocations: 7.984 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.6792, allocations: 15.98 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6793, allocations: 4 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6793, allocations: 3.938 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.68, allocations: 489.7 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.6801, allocations: 124.7 kB / 1.031 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.6801, allocations: 8 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6803, allocations: 15.98 kB / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.6804, allocations: 27.84 kB / 1.031 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.6804, allocations: 8 kB / 1.031 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002943/0.6807, allocations: 279.2 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6807, allocations: 0 / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004957/0.6812, allocations: 135.6 kB / 1.032 GB, free: 3.012 MB / 0.7794 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.0001846/0.6814, allocations: 111.1 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008592/0.6823, allocations: 402.3 kB / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6823, allocations: 0 / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.6825, allocations: 107.8 kB / 1.032 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.6831, allocations: 74.22 kB / 1.032 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6848, allocations: 0.8262 MB / 1.033 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.6852, allocations: 0.7957 MB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.6854, allocations: 38.95 kB / 1.034 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.6855, allocations: 31.42 kB / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of SimCode: time 6.52e-07/0.6855, allocations: 0 / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of Templates: time 0.01001/0.6955, allocations: 3.615 MB / 1.037 GB, free: 12.98 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches