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.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.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.0009422/0.0009421, allocations: 97.88 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.00616/0.006161, allocations: 171 kB / 16.27 MB, free: 6.324 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.543/2.543, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 12.28 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6345, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003619/0.6382, allocations: 3.128 MB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.6413, allocations: 2.074 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005913/0.6419, allocations: 19.94 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.6423, allocations: 126.8 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.6427, allocations: 103.3 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.6436, allocations: 447 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.6445, allocations: 1.135 MB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.6453, allocations: 0.5642 MB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.6456, allocations: 306.1 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.6459, allocations: 341.7 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.646, allocations: 32 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.6461, allocations: 43.98 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6462, allocations: 143.1 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.6465, allocations: 410.9 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.6474, allocations: 1.263 MB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6474, allocations: 4 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6474, allocations: 0 / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.6474, allocations: 3.938 kB / 1.033 GB, free: 5.648 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.002035/0.6495, allocations: 1.216 MB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6495, allocations: 12.03 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.6496, allocations: 139.6 kB / 1.034 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6498, allocations: 115.5 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.6505, allocations: 0.5908 MB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.6506, allocations: 70.38 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.6507, allocations: 92.38 kB / 1.035 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.6521, allocations: 0.8836 MB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6522, allocations: 7.922 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.6522, allocations: 36 kB / 1.036 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.6523, allocations: 20 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.6535, allocations: 0.6793 MB / 1.037 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.6576, allocations: 3.034 MB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.659, allocations: 0.7416 MB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.6597, allocations: 398.6 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.6598, allocations: 8.562 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/0.6605, allocations: 367 kB / 1.041 GB, free: 13.01 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 4.459e-06/0.6605, allocations: 0 / 1.041 GB, free: 13.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.001783/0.6623, allocations: 0.8924 MB / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.6624, allocations: 192.5 kB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.6633, allocations: 0.6763 MB / 1.043 GB, free: 11.19 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.6634, allocations: 41.7 kB / 1.043 GB, free: 11.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.6638, allocations: 436.8 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.664, allocations: 224.7 kB / 1.044 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.6641, allocations: 77.67 kB / 1.044 GB, free: 10.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6643, allocations: 333.9 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.665, allocations: 309.8 kB / 1.044 GB, free: 9.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.6658, allocations: 0.4942 MB / 1.045 GB, free: 9.203 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6671, allocations: 0.7161 MB / 1.045 GB, free: 8.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6671, allocations: 0 / 1.045 GB, free: 8.438 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001895/0.669, allocations: 0.9198 MB / 1.046 GB, free: 7.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.6691, allocations: 211.6 kB / 1.047 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6692, allocations: 4 kB / 1.047 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.6692, allocations: 8 kB / 1.047 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.6698, allocations: 175.7 kB / 1.047 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6699, allocations: 11.94 kB / 1.047 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.6706, allocations: 179 kB / 1.047 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.6707, allocations: 35.98 kB / 1.047 GB, free: 6.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.6707, allocations: 6.188 kB / 1.047 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/0.6719, allocations: 0.6729 MB / 1.048 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.6719, allocations: 4.094 kB / 1.048 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.6719, allocations: 8.312 kB / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.6724, allocations: 139.8 kB / 1.048 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6724, allocations: 11.98 kB / 1.048 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.673, allocations: 135.2 kB / 1.048 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.6731, allocations: 28 kB / 1.048 GB, free: 5.84 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.0004132/0.6735, allocations: 315.9 kB / 1.048 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6736, allocations: 75.06 kB / 1.048 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.675, allocations: 0.6983 MB / 1.049 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.675, allocations: 8 kB / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.675, allocations: 0 / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.675, allocations: 3.984 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.6777, allocations: 1.702 MB / 1.051 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6777, allocations: 4 kB / 1.051 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.6783, allocations: 143.8 kB / 1.051 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.6783, allocations: 8.219 kB / 1.051 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.6783, allocations: 24 kB / 1.051 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.6783, allocations: 7.938 kB / 1.051 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6783, allocations: 7.984 kB / 1.051 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.6802, allocations: 1.159 MB / 1.052 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.6804, allocations: 164 kB / 1.052 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.6805, allocations: 19.98 kB / 1.052 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.6809, allocations: 63.95 kB / 1.052 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.681, allocations: 36.52 kB / 1.052 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.681, allocations: 23.98 kB / 1.052 GB, free: 1.223 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005696/0.6816, allocations: 483 kB / 1.053 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6816, allocations: 4 kB / 1.053 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000864/0.6825, allocations: 330.6 kB / 1.053 GB, free: 440 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.002178/0.6846, allocations: 1.72 MB / 1.055 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.6867, allocations: 1.186 MB / 1.056 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6868, allocations: 7.922 kB / 1.056 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.6873, allocations: 328.3 kB / 1.056 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6884, allocations: 178.8 kB / 1.056 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6985, allocations: 7.363 MB / 1.064 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.699, allocations: 0.982 MB / 1.065 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003727/0.6994, allocations: 97.91 kB / 1.065 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.6998, allocations: 351.3 kB / 1.065 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.6998, allocations: 0 / 1.065 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.7357, allocations: 15.39 MB / 1.08 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/0.7361, allocations: 207.2 kB / 1.08 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.895, allocations: 4.062 kB / 1.08 GB, free: 4.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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