Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_LimPIDReset",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.008647/0.008647, allocations: 101.3 kB / 15.73 MB, free: 6.07 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.00261/0.00261, allocations: 192.6 kB / 16.67 MB, free: 5.977 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.115/3.115, 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 11.1.0-maint.11.x/package.mo): time 5.101/5.101, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9947/0.9969, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.01112/1.008, allocations: 4.34 MB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006093/1.014, allocations: 1.582 MB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009934/1.015, allocations: 35.81 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000837/1.016, allocations: 166.2 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/1.018, allocations: 230.1 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/1.021, allocations: 0.6626 MB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002877/1.024, allocations: 1.226 MB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/1.025, allocations: 0.4923 MB / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.026, allocations: 461.9 kB / 1.229 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/1.027, allocations: 457.4 kB / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/1.028, allocations: 104 kB / 1.23 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/1.028, allocations: 107.9 kB / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/1.028, allocations: 235.1 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/1.029, allocations: 493 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/1.032, allocations: 1.162 MB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/1.032, allocations: 0 / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/1.032, allocations: 7.938 kB / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.766e-05/1.032, allocations: 0 / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004777/1.036, allocations: 1.429 MB / 1.233 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.037, allocations: 8.031 kB / 1.233 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002622/1.037, allocations: 110.7 kB / 1.233 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/1.037, allocations: 128.1 kB / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/1.04, allocations: 0.7751 MB / 1.234 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.04, allocations: 76.27 kB / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.04, allocations: 76.33 kB / 1.234 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.043, allocations: 0.7327 MB / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/1.043, allocations: 0 / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.043, allocations: 36 kB / 1.235 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/1.043, allocations: 16 kB / 1.235 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/1.046, allocations: 0.5204 MB / 1.235 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006846/1.053, allocations: 2.252 MB / 1.238 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/1.056, allocations: 0.6243 MB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.057, allocations: 277.4 kB / 1.238 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/1.057, allocations: 16.55 kB / 1.238 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/1.059, allocations: 323.1 kB / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=60): time 5.09e-06/1.059, allocations: 0 / 1.239 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60): time 0.003494/1.062, allocations: 0.7562 MB / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.062, allocations: 85.61 kB / 1.24 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/1.064, allocations: 0.7634 MB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.064, allocations: 37.7 kB / 1.24 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/1.065, allocations: 441 kB / 1.241 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/1.065, allocations: 214.1 kB / 1.241 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/1.066, allocations: 110.3 kB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002444/1.066, allocations: 326 kB / 1.241 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.067, allocations: 211.4 kB / 1.242 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.068, allocations: 308.4 kB / 1.242 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/1.071, allocations: 0.5035 MB / 1.242 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.071, allocations: 4 kB / 1.242 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002971/1.074, allocations: 0.6545 MB / 1.243 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.074, allocations: 8.25 kB / 1.243 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.074, allocations: 7.938 kB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/1.074, allocations: 8 kB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.075, allocations: 139.8 kB / 1.243 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/1.075, allocations: 11.92 kB / 1.243 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/1.076, allocations: 67.55 kB / 1.243 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/1.076, allocations: 23.98 kB / 1.243 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/1.078, allocations: 361.3 kB / 1.244 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/1.079, allocations: 292.5 kB / 1.244 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002053/1.081, allocations: 491.7 kB / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/1.081, allocations: 0 / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002761/1.084, allocations: 0.6389 MB / 1.245 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.084, allocations: 4 kB / 1.245 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.084, allocations: 4.094 kB / 1.245 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.084, allocations: 11.92 kB / 1.245 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.085, allocations: 139.8 kB / 1.245 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/1.085, allocations: 4 kB / 1.245 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/1.086, allocations: 67.77 kB / 1.245 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/1.086, allocations: 24 kB / 1.245 GB, free: 7.797 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003727/1.087, allocations: 214.1 kB / 1.245 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.087, allocations: 99.34 kB / 1.246 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/1.087, allocations: 105.2 kB / 1.246 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.087, allocations: 4 kB / 1.246 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.088, allocations: 11.92 kB / 1.246 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.088, allocations: 4 kB / 1.246 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/1.092, allocations: 1.439 MB / 1.247 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.092, allocations: 3.938 kB / 1.247 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.094, allocations: 103.9 kB / 1.247 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/1.094, allocations: 4 kB / 1.247 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/1.094, allocations: 12 kB / 1.247 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/1.094, allocations: 8 kB / 1.247 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.094, allocations: 0 / 1.247 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/1.098, allocations: 0.9639 MB / 1.248 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/1.098, allocations: 232.2 kB / 1.248 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.098, allocations: 12 kB / 1.248 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/1.099, allocations: 27.97 kB / 1.248 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.1, allocations: 44.5 kB / 1.248 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/1.1, allocations: 16 kB / 1.248 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001439/1.101, allocations: 0.5146 MB / 1.249 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.71e-07/1.101, allocations: 0 / 1.249 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001527/1.103, allocations: 279.3 kB / 1.249 GB, free: 3.629 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004452/1.107, allocations: 1.532 MB / 1.251 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003574/1.111, allocations: 0.7962 MB / 1.251 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.111, allocations: 4.125 kB / 1.252 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.112, allocations: 263.1 kB / 1.252 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.115, allocations: 264.8 kB / 1.252 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.135, allocations: 6.581 MB / 1.258 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.136, allocations: 0.9937 MB / 1.259 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001026/1.137, allocations: 118.7 kB / 1.26 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/1.138, allocations: 355.2 kB / 1.26 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/1.138, allocations: 0 / 1.26 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/1.321, allocations: 17.47 MB / 1.277 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.61, allocations: 11.83 kB / 1.277 GB, free: 7.238 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches