Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005297/0.005297, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001203/0.001203, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.832/2.832, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.56 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00335/0.3149, allocations: 1.879 MB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3168, allocations: 1.236 MB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.3172, allocations: 4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.3175, allocations: 59.45 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.3178, allocations: 35.78 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.3182, allocations: 143.8 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000491/0.3187, allocations: 449 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3192, allocations: 267.4 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.3194, allocations: 143.3 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3196, allocations: 182.9 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.3196, allocations: 27.94 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.3197, allocations: 28 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3198, allocations: 87.56 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3199, allocations: 178.9 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3204, allocations: 455.2 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3204, allocations: 11.88 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3204, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.3204, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001532/0.3219, allocations: 0.7368 MB / 1.059 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.322, allocations: 8.031 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3221, allocations: 48.38 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.3226, allocations: 348.3 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.3226, allocations: 29.38 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.3227, allocations: 40.38 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.3235, allocations: 415.5 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3235, allocations: 192 / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.3235, allocations: 19.94 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3236, allocations: 8 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.3241, allocations: 287.8 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.3263, allocations: 1.362 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.3271, allocations: 246.9 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3273, allocations: 118.2 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3274, allocations: 7.984 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3274, allocations: 38.5 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.3274, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006796/0.3281, allocations: 299.1 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.3282, allocations: 106.8 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.3287, allocations: 413.5 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3287, allocations: 29.7 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3289, allocations: 251.7 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.329, allocations: 71.02 kB / 1.063 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3291, allocations: 73.86 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3292, allocations: 342.8 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.3295, allocations: 118.1 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3298, allocations: 212.3 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.3303, allocations: 279.5 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3304, allocations: 0 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007288/0.3311, allocations: 362.3 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3311, allocations: 9.625 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3311, allocations: 4 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3312, allocations: 7.984 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.3315, allocations: 75.88 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3315, allocations: 7.938 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3318, allocations: 55.52 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.3318, allocations: 15.98 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002836/0.3321, allocations: 200.8 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002368/0.3323, allocations: 183 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003368/0.3327, allocations: 233.4 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.3327, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005594/0.3333, allocations: 314.7 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3333, allocations: 7.984 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.3333, allocations: 4 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.3333, allocations: 8 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3335, allocations: 67.8 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3336, allocations: 4 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3338, allocations: 39.72 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3338, allocations: 12.22 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001507/0.334, allocations: 204.1 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.334, allocations: 31.62 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.3346, allocations: 240.9 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3346, allocations: 0 / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3346, allocations: 3.984 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3346, allocations: 4 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3359, allocations: 0.7872 MB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3359, allocations: 4.031 kB / 1.066 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.3361, allocations: 47.91 kB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3361, allocations: 4 kB / 1.066 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3362, allocations: 4 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3362, allocations: 0 / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3362, allocations: 4 kB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.3369, allocations: 465.7 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.337, allocations: 116.7 kB / 1.067 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.3371, allocations: 8 kB / 1.067 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3373, allocations: 19.98 kB / 1.067 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3373, allocations: 19.84 kB / 1.067 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3373, allocations: 12 kB / 1.067 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003366/0.3377, allocations: 283.2 kB / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3377, allocations: 0 / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005411/0.3382, allocations: 131.4 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001769/0.3384, allocations: 117 kB / 1.067 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008527/0.3393, allocations: 388 kB / 1.068 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3393, allocations: 4.25 kB / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3395, allocations: 99.83 kB / 1.068 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.3401, allocations: 69.77 kB / 1.068 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3417, allocations: 0.8399 MB / 1.069 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3421, allocations: 0.796 MB / 1.07 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3422, allocations: 31.42 kB / 1.07 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/0.3422, allocations: 0 / 1.07 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.007862/0.3501, allocations: 4.331 MB / 1.074 GB, free: 2.105 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches