Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001034, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008517/0.008517, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.722/2.722, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7077, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003464/0.7112, allocations: 2.844 MB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.7137, allocations: 1.672 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.7142, allocations: 19.94 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.7146, allocations: 122.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.7149, allocations: 79.44 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.7156, allocations: 299.7 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.7166, allocations: 0.9868 MB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008557/0.7174, allocations: 0.5959 MB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.7177, allocations: 258.3 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.7181, allocations: 309.8 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.7182, allocations: 24 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-05/0.7182, allocations: 28 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.7184, allocations: 143.2 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.7187, allocations: 379 kB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.7197, allocations: 1.15 MB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7198, allocations: 0 / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7198, allocations: 4 kB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.7198, allocations: 0 / 1.032 GB, free: 6.898 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002027/0.7218, allocations: 1.134 MB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7219, allocations: 16.03 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.722, allocations: 115.5 kB / 1.033 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.7228, allocations: 0.5558 MB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.7229, allocations: 66.38 kB / 1.034 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.723, allocations: 96.38 kB / 1.034 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.7245, allocations: 0.8945 MB / 1.035 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.7245, allocations: 192 / 1.035 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/0.7246, allocations: 43.92 kB / 1.035 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.7247, allocations: 24 kB / 1.035 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.7259, allocations: 0.652 MB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.7299, allocations: 2.861 MB / 1.038 GB, free: 260 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.7315, allocations: 1.345 MB / 1.039 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.7322, allocations: 414 kB / 1.04 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.7322, allocations: 12.64 kB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007336/0.733, allocations: 376.3 kB / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 2.866e-06/0.733, allocations: 0 / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.001781/0.7348, allocations: 0.8641 MB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7349, allocations: 170.9 kB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/0.7357, allocations: 0.5615 MB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.7357, allocations: 41.7 kB / 1.042 GB, free: 12.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.736, allocations: 392.3 kB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.7362, allocations: 256.2 kB / 1.042 GB, free: 11.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7363, allocations: 69.67 kB / 1.042 GB, free: 11.55 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.7365, allocations: 382.8 kB / 1.043 GB, free: 11.17 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.7371, allocations: 253.9 kB / 1.043 GB, free: 10.92 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.7378, allocations: 385.1 kB / 1.043 GB, free: 10.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7389, allocations: 0.5682 MB / 1.044 GB, free: 9.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7389, allocations: 0 / 1.044 GB, free: 9.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001535/0.7404, allocations: 0.7426 MB / 1.045 GB, free: 9.176 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/0.7405, allocations: 111.6 kB / 1.045 GB, free: 9.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.7405, allocations: 7.938 kB / 1.045 GB, free: 9.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.7406, allocations: 8 kB / 1.045 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.7412, allocations: 167.9 kB / 1.045 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7412, allocations: 7.938 kB / 1.045 GB, free: 8.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.7417, allocations: 107.3 kB / 1.045 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.7417, allocations: 27.98 kB / 1.045 GB, free: 8.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7418, allocations: 6.031 kB / 1.045 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008615/0.7426, allocations: 0.5233 MB / 1.046 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.7426, allocations: 0 / 1.046 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.7427, allocations: 8.094 kB / 1.046 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.7431, allocations: 131.9 kB / 1.046 GB, free: 8.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7431, allocations: 7.938 kB / 1.046 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.7435, allocations: 91.25 kB / 1.046 GB, free: 7.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.7435, allocations: 24 kB / 1.046 GB, free: 7.945 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.000411/0.7439, allocations: 305.4 kB / 1.046 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.744, allocations: 67.16 kB / 1.046 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.7453, allocations: 0.673 MB / 1.047 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.7453, allocations: 12 kB / 1.047 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7453, allocations: 0 / 1.047 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.7454, allocations: 3.984 kB / 1.047 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.7479, allocations: 1.739 MB / 1.049 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7479, allocations: 0 / 1.049 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.7485, allocations: 143.8 kB / 1.049 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7485, allocations: 4 kB / 1.049 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.7486, allocations: 19.98 kB / 1.049 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.7486, allocations: 4 kB / 1.049 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7486, allocations: 4.094 kB / 1.049 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.7504, allocations: 1.116 MB / 1.05 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.7505, allocations: 160.2 kB / 1.05 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.7506, allocations: 20 kB / 1.05 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.751, allocations: 59.89 kB / 1.05 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.751, allocations: 48.48 kB / 1.05 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.7511, allocations: 31.98 kB / 1.05 GB, free: 3.402 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004524/0.7516, allocations: 398.8 kB / 1.05 GB, free: 3.016 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7516, allocations: 0 / 1.05 GB, free: 3.016 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007248/0.7523, allocations: 306.4 kB / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001949/0.7525, allocations: 135.1 kB / 1.051 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.7542, allocations: 0.9069 MB / 1.052 GB, free: 1.668 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7543, allocations: 0 / 1.052 GB, free: 1.668 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.7548, allocations: 335.4 kB / 1.052 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.7558, allocations: 142.2 kB / 1.052 GB, free: 1.203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.7586, allocations: 1.939 MB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.7592, allocations: 0.9781 MB / 1.055 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003501/0.7596, allocations: 93.23 kB / 1.055 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.7597, allocations: 63.36 kB / 1.055 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of SimCode: time 1.112e-06/0.7598, allocations: 0 / 1.055 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.01431/0.7741, allocations: 7.032 MB / 1.062 GB, free: 7.086 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches