Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_latest_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.0008975/0.0008975, allocations: 89.81 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.005821/0.005821, allocations: 171.3 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 12.53 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003785/0.2519, allocations: 3.137 MB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.2552, allocations: 2.093 MB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/0.2559, allocations: 19.94 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.2563, allocations: 130.8 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.2568, allocations: 95.3 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2578, allocations: 442.4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2589, allocations: 1.135 MB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008139/0.2598, allocations: 0.5564 MB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.2601, allocations: 302.2 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.2605, allocations: 345.7 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.2606, allocations: 32 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2607, allocations: 43.98 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2609, allocations: 147.1 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.2612, allocations: 406.9 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.2621, allocations: 1.265 MB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2621, allocations: 0 / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2621, allocations: 4 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.2621, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 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.00205/0.2642, allocations: 1.22 MB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2642, allocations: 15.97 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.2644, allocations: 135.6 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2646, allocations: 115.5 kB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.2652, allocations: 0.587 MB / 1.071 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.2653, allocations: 74.36 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2654, allocations: 100.3 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2668, allocations: 0.8836 MB / 1.072 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2669, allocations: 3.938 kB / 1.072 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.2669, allocations: 36 kB / 1.072 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.267, allocations: 20 kB / 1.072 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2683, allocations: 0.6753 MB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/0.2722, allocations: 3.034 MB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.2736, allocations: 0.7388 MB / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.2742, allocations: 394.6 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.2743, allocations: 16.69 kB / 1.077 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.2749, allocations: 367 kB / 1.077 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 1.874e-06/0.2749, allocations: 0 / 1.077 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001657/0.2766, allocations: 0.8962 MB / 1.078 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.2767, allocations: 188.5 kB / 1.078 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.2774, allocations: 0.6762 MB / 1.079 GB, free: 216 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.2775, allocations: 45.64 kB / 1.079 GB, free: 164 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.2778, allocations: 431.9 kB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.2779, allocations: 236.5 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.278, allocations: 73.62 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.2781, allocations: 333.9 kB / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.2788, allocations: 313.8 kB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.2795, allocations: 498.2 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2808, allocations: 0.7161 MB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2808, allocations: 0 / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001644/0.2824, allocations: 0.916 MB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.2826, allocations: 215.6 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2826, allocations: 4 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2826, allocations: 8 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.2832, allocations: 171.7 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.2832, allocations: 15.88 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.2839, allocations: 173.5 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.284, allocations: 35.98 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.284, allocations: 8 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/0.285, allocations: 0.6651 MB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.285, allocations: 4 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.2851, allocations: 8.312 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.2855, allocations: 143.8 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2855, allocations: 8 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.2861, allocations: 131.2 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.2861, allocations: 27.98 kB / 1.084 GB, free: 10.87 MB / 0.8419 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.0002925/0.2864, allocations: 312.8 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2865, allocations: 82.97 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2878, allocations: 0.6945 MB / 1.085 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2878, allocations: 4 kB / 1.085 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2878, allocations: 4 kB / 1.085 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.2878, allocations: 3.984 kB / 1.085 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.2901, allocations: 1.714 MB / 1.086 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2901, allocations: 4 kB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.2906, allocations: 139.8 kB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.2907, allocations: 7.938 kB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.2907, allocations: 20.2 kB / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2907, allocations: 8 kB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2907, allocations: 0 / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2925, allocations: 1.147 MB / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2926, allocations: 176 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.2927, allocations: 12 kB / 1.088 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.2931, allocations: 64.05 kB / 1.088 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2932, allocations: 52.38 kB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.2932, allocations: 20 kB / 1.088 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005025/0.2937, allocations: 487 kB / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2937, allocations: 0 / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007587/0.2945, allocations: 322.7 kB / 1.089 GB, free: 5.465 MB / 0.8419 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.002101/0.2966, allocations: 1.723 MB / 1.09 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.2986, allocations: 1.195 MB / 1.092 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2986, allocations: 0 / 1.092 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.2992, allocations: 324 kB / 1.092 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3003, allocations: 168.2 kB / 1.092 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/0.3101, allocations: 7.37 MB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3106, allocations: 0.9823 MB / 1.1 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.3109, allocations: 101.9 kB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.3114, allocations: 351.3 kB / 1.101 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3114, allocations: 0 / 1.101 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/1.619, allocations: 15.4 MB / 1.116 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.619, allocations: 205.5 kB / 1.116 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.827, allocations: 0 / 1.116 GB, free: 9.441 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches