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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.06694/0.06694, allocations: 105.6 kB / 15.74 MB, free: 6.02 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.01351/0.01351, allocations: 193.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.294/3.294, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.345/4.345, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002873/0.002873, allocations: 72.12 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464/1.467, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.007245/1.474, allocations: 3.326 MB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004645/1.479, allocations: 1.734 MB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/1.48, allocations: 19.94 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/1.481, allocations: 158.2 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000841/1.482, allocations: 122.7 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/1.483, allocations: 359.5 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001895/1.485, allocations: 1.073 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/1.486, allocations: 0.6233 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/1.487, allocations: 402.3 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/1.488, allocations: 445.6 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/1.488, allocations: 120 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/1.488, allocations: 120 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/1.488, allocations: 251.1 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005829/1.489, allocations: 497.2 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/1.491, allocations: 1.31 MB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/1.491, allocations: 7.984 kB / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/1.491, allocations: 0 / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.902e-05/1.491, allocations: 0 / 1.176 GB, free: 9.254 MB / 0.9044 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.003345/1.494, allocations: 1.316 MB / 1.178 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.494, allocations: 8.922 kB / 1.178 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/1.495, allocations: 139.8 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/1.495, allocations: 124.2 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.496, allocations: 0.5602 MB / 1.179 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.66e-05/1.496, allocations: 70.38 kB / 1.179 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/1.496, allocations: 104.3 kB / 1.179 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.499, allocations: 0.8788 MB / 1.18 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/1.499, allocations: 7.938 kB / 1.18 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.499, allocations: 36 kB / 1.18 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/1.499, allocations: 27.94 kB / 1.18 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/1.501, allocations: 0.6207 MB / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006673/1.508, allocations: 2.795 MB / 1.183 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/1.51, allocations: 1.306 MB / 1.184 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.511, allocations: 395.6 kB / 1.185 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/1.511, allocations: 16.64 kB / 1.185 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009985/1.512, allocations: 352.4 kB / 1.185 GB, free: 152 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=74): time 5.711e-06/1.512, allocations: 0 / 1.185 GB, free: 152 kB / 0.9044 GB Notification: Performance of matching and sorting (n=74): time 0.002616/1.515, allocations: 0.8216 MB / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/1.515, allocations: 166.8 kB / 1.186 GB, free: 15.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.516, allocations: 0.5577 MB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.516, allocations: 41.8 kB / 1.187 GB, free: 14.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/1.517, allocations: 404.9 kB / 1.187 GB, free: 14.1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/1.517, allocations: 265.6 kB / 1.187 GB, free: 13.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/1.518, allocations: 126.6 kB / 1.187 GB, free: 13.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002827/1.518, allocations: 382.8 kB / 1.188 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/1.519, allocations: 248.7 kB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009354/1.52, allocations: 361.1 kB / 1.188 GB, free: 12.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.521, allocations: 0.5448 MB / 1.189 GB, free: 12.14 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.521, allocations: 4 kB / 1.189 GB, free: 12.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002209/1.524, allocations: 0.704 MB / 1.189 GB, free: 11.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.524, allocations: 11.98 kB / 1.19 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.524, allocations: 0 / 1.19 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/1.524, allocations: 4 kB / 1.19 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/1.525, allocations: 147.8 kB / 1.19 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.525, allocations: 7.938 kB / 1.19 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/1.525, allocations: 103.5 kB / 1.19 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/1.525, allocations: 20 kB / 1.19 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009026/1.526, allocations: 350.1 kB / 1.19 GB, free: 10.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000675/1.527, allocations: 317.1 kB / 1.19 GB, free: 10.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/1.528, allocations: 462 kB / 1.191 GB, free: 9.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.528, allocations: 0 / 1.191 GB, free: 9.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00161/1.53, allocations: 0.6181 MB / 1.191 GB, free: 9.355 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.53, allocations: 8 kB / 1.191 GB, free: 9.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.53, allocations: 3.984 kB / 1.191 GB, free: 9.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.53, allocations: 4 kB / 1.191 GB, free: 9.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/1.531, allocations: 127.8 kB / 1.192 GB, free: 9.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.531, allocations: 4 kB / 1.192 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/1.531, allocations: 87.52 kB / 1.192 GB, free: 9.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/1.531, allocations: 24.09 kB / 1.192 GB, free: 9.102 MB / 0.92 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.0003304/1.532, allocations: 216.1 kB / 1.192 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.532, allocations: 79.52 kB / 1.192 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.534, allocations: 0.6533 MB / 1.193 GB, free: 8.145 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.534, allocations: 11.98 kB / 1.193 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.534, allocations: 3.938 kB / 1.193 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.534, allocations: 3.984 kB / 1.193 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/1.538, allocations: 1.693 MB / 1.194 GB, free: 6.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.538, allocations: 0 / 1.194 GB, free: 6.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009035/1.539, allocations: 140 kB / 1.194 GB, free: 6.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/1.539, allocations: 4 kB / 1.194 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.539, allocations: 20 kB / 1.194 GB, free: 6.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/1.539, allocations: 7.984 kB / 1.194 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.539, allocations: 0 / 1.194 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/1.542, allocations: 1.071 MB / 1.196 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/1.542, allocations: 156.5 kB / 1.196 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.542, allocations: 27.98 kB / 1.196 GB, free: 4.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/1.543, allocations: 39.97 kB / 1.196 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.543, allocations: 52.44 kB / 1.196 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/1.543, allocations: 23.98 kB / 1.196 GB, free: 4.773 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007696/1.544, allocations: 402.9 kB / 1.196 GB, free: 4.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/1.544, allocations: 0 / 1.196 GB, free: 4.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00123/1.545, allocations: 306.9 kB / 1.196 GB, free: 4.082 MB / 0.92 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.003316/1.548, allocations: 1.642 MB / 1.198 GB, free: 2.391 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002692/1.551, allocations: 0.8911 MB / 1.199 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.551, allocations: 4 kB / 1.199 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/1.552, allocations: 311.6 kB / 1.199 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.553, allocations: 154.9 kB / 1.199 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.567, allocations: 5.946 MB / 1.205 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/1.568, allocations: 0.9778 MB / 1.206 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006198/1.569, allocations: 89.17 kB / 1.206 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/1.569, allocations: 331.3 kB / 1.207 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of SimCode: time 1.603e-06/1.57, allocations: 0 / 1.207 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/1.635, allocations: 13.92 MB / 1.22 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.92, allocations: 15.75 kB / 1.22 GB, free: 11.79 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins1/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