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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.55 kB / 16.02 MB, free: 80 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.001463/0.001462, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 16.69 kB / 0.9035 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00414/0.302, allocations: 3.126 MB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003869/0.3059, allocations: 2.089 MB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000846/0.3068, allocations: 19.94 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3073, allocations: 126.8 kB / 1.065 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006622/0.3079, allocations: 99.28 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3093, allocations: 446.5 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3109, allocations: 1.139 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3119, allocations: 0.5603 MB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.3124, allocations: 290.2 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.3129, allocations: 353.6 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.313, allocations: 28 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3132, allocations: 47.98 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3133, allocations: 143.1 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.3137, allocations: 402.9 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009389/0.3147, allocations: 1.052 MB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3147, allocations: 4 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3147, allocations: 0 / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.3147, allocations: 0 / 1.069 GB, free: 11 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.002588/0.3173, allocations: 1.224 MB / 1.07 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3174, allocations: 19.91 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3177, allocations: 115.5 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.3186, allocations: 0.587 MB / 1.071 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.3187, allocations: 70.38 kB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.3189, allocations: 92.28 kB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.3206, allocations: 0.8836 MB / 1.072 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3206, allocations: 8.125 kB / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.3207, allocations: 39.94 kB / 1.072 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3207, allocations: 20 kB / 1.072 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.3222, allocations: 0.6793 MB / 1.073 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.327, allocations: 3.031 MB / 1.076 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.3286, allocations: 0.7378 MB / 1.076 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/0.3293, allocations: 398.6 kB / 1.077 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.3294, allocations: 12.56 kB / 1.077 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.3301, allocations: 363 kB / 1.077 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 4.649e-06/0.3301, allocations: 3.984 kB / 1.077 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001881/0.332, allocations: 0.8962 MB / 1.078 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3321, allocations: 196.5 kB / 1.078 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.3331, allocations: 0.6762 MB / 1.079 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.59e-05/0.3332, allocations: 41.7 kB / 1.079 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.3336, allocations: 432.9 kB / 1.079 GB, free: 180 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3338, allocations: 224.8 kB / 1.079 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3339, allocations: 73.67 kB / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.334, allocations: 337.9 kB / 1.08 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.3348, allocations: 313.8 kB / 1.08 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.3356, allocations: 498.2 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.3369, allocations: 0.72 MB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3369, allocations: 0 / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001854/0.3388, allocations: 0.9198 MB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.3389, allocations: 209.2 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.339, allocations: 4 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.339, allocations: 8 kB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.3396, allocations: 175.7 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.3397, allocations: 11.94 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.3404, allocations: 175 kB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.3405, allocations: 31.98 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.3405, allocations: 4 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/0.3417, allocations: 0.6767 MB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3417, allocations: 4.375 kB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.3417, allocations: 8 kB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.3422, allocations: 135.8 kB / 1.084 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3422, allocations: 11.98 kB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.3429, allocations: 131.2 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.3429, allocations: 28 kB / 1.084 GB, free: 11.31 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.0004095/0.3433, allocations: 308.9 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3435, allocations: 75.06 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.3449, allocations: 0.706 MB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3449, allocations: 8.094 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3449, allocations: 7.938 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3449, allocations: 3.984 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.3476, allocations: 1.702 MB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3476, allocations: 4 kB / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.3482, allocations: 139.8 kB / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.3482, allocations: 16.22 kB / 1.087 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3482, allocations: 16 kB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3482, allocations: 8 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3483, allocations: 3.938 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.3502, allocations: 1.155 MB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.3504, allocations: 164 kB / 1.088 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.3505, allocations: 23.92 kB / 1.088 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.3509, allocations: 67.89 kB / 1.088 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.351, allocations: 36.52 kB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3511, allocations: 27.98 kB / 1.088 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006056/0.3517, allocations: 483 kB / 1.089 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3517, allocations: 4 kB / 1.089 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009322/0.3526, allocations: 322.7 kB / 1.089 GB, free: 5.902 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.0002386/0.3529, allocations: 127 kB / 1.089 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.3551, allocations: 1.195 MB / 1.09 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3551, allocations: 4 kB / 1.09 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.3558, allocations: 339.9 kB / 1.091 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.357, allocations: 178.8 kB / 1.091 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.3598, allocations: 1.914 MB / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.3604, allocations: 0.9823 MB / 1.094 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.3606, allocations: 71.42 kB / 1.094 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.3606, allocations: 0 / 1.094 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of Templates: time 0.01572/0.3764, allocations: 9.989 MB / 1.103 GB, free: 7.035 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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