Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",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.00107/0.00107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.481/2.481, allocations: 437.1 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6089, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005057/0.614, allocations: 3.621 MB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003706/0.6177, allocations: 2.136 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.6183, allocations: 23.94 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.6187, allocations: 170.1 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.6191, allocations: 142.6 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.6202, allocations: 0.4924 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.6212, allocations: 1.264 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.622, allocations: 0.5916 MB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.6224, allocations: 442.2 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.6228, allocations: 485.5 kB / 1.027 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.623, allocations: 128 kB / 1.027 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.6232, allocations: 144 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.6234, allocations: 251.1 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.6237, allocations: 0.505 MB / 1.028 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.6248, allocations: 1.38 MB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.6248, allocations: 0 / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6248, allocations: 4 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.6248, allocations: 0 / 1.029 GB, free: 6.641 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002179/0.627, allocations: 1.364 MB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6271, allocations: 12.03 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.6272, allocations: 139.6 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.6274, allocations: 119.5 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.6281, allocations: 0.5908 MB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.6282, allocations: 74.38 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6283, allocations: 92.38 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.6296, allocations: 0.8602 MB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6296, allocations: 3.938 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.6297, allocations: 39.94 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.6297, allocations: 24 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6309, allocations: 0.6363 MB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.6347, allocations: 2.999 MB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6361, allocations: 0.6803 MB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.6367, allocations: 374.6 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.6368, allocations: 8.562 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.6374, allocations: 351 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 1.944e-06/0.6375, allocations: 0 / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.001641/0.6391, allocations: 0.826 MB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.6392, allocations: 188.5 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.6399, allocations: 0.6763 MB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.64, allocations: 45.7 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6402, allocations: 436.8 kB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.6404, allocations: 228.7 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.6406, allocations: 150.5 kB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.6407, allocations: 337.9 kB / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.6413, allocations: 296.7 kB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.6421, allocations: 486 kB / 1.041 GB, free: 10.26 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6433, allocations: 0.6731 MB / 1.041 GB, free: 9.535 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6433, allocations: 4 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001612/0.6449, allocations: 0.873 MB / 1.042 GB, free: 8.645 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.645, allocations: 41.69 kB / 1.042 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.645, allocations: 4 kB / 1.042 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.645, allocations: 8 kB / 1.042 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.6456, allocations: 163.7 kB / 1.042 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6456, allocations: 8 kB / 1.042 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.6462, allocations: 143.1 kB / 1.042 GB, free: 8.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.6463, allocations: 27.98 kB / 1.042 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005789/0.6469, allocations: 402 kB / 1.043 GB, free: 7.855 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000505/0.6474, allocations: 414.2 kB / 1.043 GB, free: 7.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007518/0.6482, allocations: 0.5717 MB / 1.044 GB, free: 6.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.245e-06/0.6482, allocations: 4 kB / 1.044 GB, free: 6.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001139/0.6493, allocations: 0.7556 MB / 1.045 GB, free: 5.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.6493, allocations: 41.69 kB / 1.045 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6494, allocations: 4 kB / 1.045 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.6494, allocations: 4 kB / 1.045 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.6498, allocations: 131.8 kB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6499, allocations: 16.11 kB / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.6504, allocations: 123.7 kB / 1.045 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.6505, allocations: 24 kB / 1.045 GB, free: 5.648 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0001654/0.6506, allocations: 236 kB / 1.045 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.6507, allocations: 78.97 kB / 1.045 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.6519, allocations: 0.6554 MB / 1.046 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.652, allocations: 12 kB / 1.046 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.652, allocations: 4 kB / 1.046 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.652, allocations: 3.984 kB / 1.046 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.6542, allocations: 1.667 MB / 1.047 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6542, allocations: 4 kB / 1.047 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.6547, allocations: 132.1 kB / 1.048 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.6547, allocations: 7.984 kB / 1.048 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.6548, allocations: 19.94 kB / 1.048 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6548, allocations: 4 kB / 1.048 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6548, allocations: 7.938 kB / 1.048 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.6565, allocations: 1.085 MB / 1.049 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6566, allocations: 164.1 kB / 1.049 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.6567, allocations: 19.98 kB / 1.049 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.6571, allocations: 51.89 kB / 1.049 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.6571, allocations: 40.52 kB / 1.049 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.6572, allocations: 27.92 kB / 1.049 GB, free: 1.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004858/0.6577, allocations: 479 kB / 1.049 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6577, allocations: 0 / 1.049 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007417/0.6584, allocations: 330.6 kB / 1.05 GB, free: 500 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.001975/0.6604, allocations: 1.649 MB / 1.051 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.6625, allocations: 1.175 MB / 1.053 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6625, allocations: 8.062 kB / 1.053 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.6631, allocations: 299 kB / 1.053 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.664, allocations: 198.2 kB / 1.053 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/0.6729, allocations: 6.886 MB / 1.06 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6734, allocations: 0.9743 MB / 1.061 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004191/0.6738, allocations: 105.9 kB / 1.061 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.6742, allocations: 347.3 kB / 1.061 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of SimCode: time 1.122e-06/0.6743, allocations: 0 / 1.061 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.7147, allocations: 16.16 MB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/8.093, allocations: 14.69 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches