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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009177/0.0009179, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006124/0.006124, allocations: 172 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 12 kB / 0.873 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6632, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003616/0.6669, allocations: 2.848 MB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.67, allocations: 1.672 MB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.6708, allocations: 23.88 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.6713, allocations: 122.9 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.6718, allocations: 75.38 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.6725, allocations: 307.7 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.6737, allocations: 0.9907 MB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.6748, allocations: 0.5881 MB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.6752, allocations: 258.3 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.6756, allocations: 313.7 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.6757, allocations: 28 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.6757, allocations: 24 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6758, allocations: 135.2 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.6761, allocations: 379 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.677, allocations: 1.146 MB / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6771, allocations: 0 / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6771, allocations: 0 / 1.032 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.6771, allocations: 4 kB / 1.032 GB, free: 6.863 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.00209/0.6792, allocations: 1.15 MB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6792, allocations: 8.031 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.6794, allocations: 143.8 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.6796, allocations: 111.6 kB / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.6803, allocations: 0.5558 MB / 1.034 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.6804, allocations: 74.38 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6805, allocations: 88.38 kB / 1.034 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.682, allocations: 0.8984 MB / 1.035 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.6821, allocations: 3.938 kB / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.6821, allocations: 51.92 kB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.6822, allocations: 20 kB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.6834, allocations: 0.6481 MB / 1.035 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.6874, allocations: 2.857 MB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.689, allocations: 1.348 MB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.6896, allocations: 414 kB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.6897, allocations: 12.56 kB / 1.04 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006678/0.6903, allocations: 372.4 kB / 1.04 GB, free: 13.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 2.424e-06/0.6904, allocations: 4 kB / 1.04 GB, free: 13.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.001648/0.692, allocations: 0.8679 MB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.6921, allocations: 170.8 kB / 1.041 GB, free: 12.69 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.6928, allocations: 0.5577 MB / 1.042 GB, free: 12.12 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.6929, allocations: 41.7 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.6932, allocations: 392.3 kB / 1.042 GB, free: 11.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.6934, allocations: 256.2 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.6935, allocations: 69.67 kB / 1.043 GB, free: 11.36 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6937, allocations: 382.8 kB / 1.043 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.6942, allocations: 261.8 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.6948, allocations: 377.1 kB / 1.044 GB, free: 10.31 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6959, allocations: 0.5721 MB / 1.044 GB, free: 9.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6959, allocations: 0 / 1.044 GB, free: 9.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001601/0.6975, allocations: 0.7387 MB / 1.045 GB, free: 8.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.6976, allocations: 123.6 kB / 1.045 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.6976, allocations: 0 / 1.045 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.6976, allocations: 4 kB / 1.045 GB, free: 8.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.6982, allocations: 163.8 kB / 1.045 GB, free: 8.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.6983, allocations: 4 kB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.6987, allocations: 111.3 kB / 1.045 GB, free: 8.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.6988, allocations: 23.98 kB / 1.045 GB, free: 8.547 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.6988, allocations: 8 kB / 1.045 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000834/0.6996, allocations: 0.5232 MB / 1.046 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.6996, allocations: 0 / 1.046 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.6996, allocations: 4.109 kB / 1.046 GB, free: 8.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.7001, allocations: 143.8 kB / 1.046 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7001, allocations: 4 kB / 1.046 GB, free: 7.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.7005, allocations: 91.34 kB / 1.046 GB, free: 7.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.7005, allocations: 24 kB / 1.046 GB, free: 7.75 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.0003624/0.7009, allocations: 293.5 kB / 1.046 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.701, allocations: 79.08 kB / 1.046 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.7023, allocations: 0.6769 MB / 1.047 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.7023, allocations: 4 kB / 1.047 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7023, allocations: 0 / 1.047 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7023, allocations: 11.92 kB / 1.047 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.7049, allocations: 1.731 MB / 1.049 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7049, allocations: 0 / 1.049 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.7055, allocations: 148 kB / 1.049 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.7055, allocations: 4 kB / 1.049 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.7056, allocations: 20 kB / 1.049 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.7056, allocations: 7.984 kB / 1.049 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7056, allocations: 0 / 1.049 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.7074, allocations: 1.112 MB / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7075, allocations: 160 kB / 1.05 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.7076, allocations: 20 kB / 1.05 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.708, allocations: 55.95 kB / 1.05 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.7081, allocations: 56.47 kB / 1.05 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.7081, allocations: 23.98 kB / 1.05 GB, free: 3.215 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004499/0.7085, allocations: 402.8 kB / 1.051 GB, free: 2.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7086, allocations: 192 / 1.051 GB, free: 2.824 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007518/0.7093, allocations: 306.4 kB / 1.051 GB, free: 2.523 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.002168/0.7115, allocations: 1.681 MB / 1.053 GB, free: 0.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.7133, allocations: 0.9186 MB / 1.054 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7133, allocations: 0 / 1.054 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.7139, allocations: 335.2 kB / 1.054 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.7148, allocations: 140.5 kB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7252, allocations: 6.643 MB / 1.06 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.7258, allocations: 0.9781 MB / 1.061 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.7262, allocations: 85.19 kB / 1.062 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.7267, allocations: 335.5 kB / 1.062 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of SimCode: time 1.012e-06/0.7267, allocations: 0 / 1.062 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.7535, allocations: 13 MB / 1.075 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.7539, allocations: 217.3 kB / 1.075 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.731, allocations: 3.938 kB / 1.075 GB, free: 10.15 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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