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: 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_10_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_10_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.001502/0.001502, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001742/0.001742, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.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.621/2.621, allocations: 437 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.95 kB / 0.8694 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004621/0.2891, allocations: 3.602 MB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.2924, allocations: 2.078 MB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.2928, allocations: 19.94 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.2932, allocations: 130.8 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2936, allocations: 95.28 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.2946, allocations: 449.4 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009779/0.2955, allocations: 1.252 MB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.2963, allocations: 0.5993 MB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.2967, allocations: 442.2 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.2971, allocations: 481.5 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.2973, allocations: 132 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2975, allocations: 144 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2976, allocations: 247.1 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.298, allocations: 0.5128 MB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.2989, allocations: 1.095 MB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2989, allocations: 4 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2989, allocations: 4 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.2989, allocations: 0 / 1.028 GB, free: 15.73 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002181/0.3011, allocations: 1.374 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3012, allocations: 8.031 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3014, allocations: 119.5 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.3021, allocations: 0.5908 MB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.3021, allocations: 70.31 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.3023, allocations: 104.3 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.3036, allocations: 0.8563 MB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3037, allocations: 4.125 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.3037, allocations: 39.94 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.3037, allocations: 27.98 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.305, allocations: 0.6324 MB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.3091, allocations: 2.992 MB / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.3104, allocations: 0.685 MB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.3111, allocations: 378.5 kB / 1.036 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.3111, allocations: 8.562 kB / 1.036 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.3118, allocations: 355 kB / 1.036 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.685e-06/0.3118, allocations: 0 / 1.036 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001671/0.3135, allocations: 0.8298 MB / 1.037 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.3136, allocations: 192.5 kB / 1.037 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/0.3144, allocations: 0.6762 MB / 1.038 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.3145, allocations: 45.7 kB / 1.038 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.3148, allocations: 432.9 kB / 1.039 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.315, allocations: 228.7 kB / 1.039 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.3152, allocations: 150.5 kB / 1.039 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3154, allocations: 333.9 kB / 1.039 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.316, allocations: 296.7 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.3168, allocations: 488.5 kB / 1.04 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.318, allocations: 0.6692 MB / 1.041 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.318, allocations: 4 kB / 1.041 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001683/0.3197, allocations: 0.8808 MB / 1.042 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3198, allocations: 41.7 kB / 1.042 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3198, allocations: 0 / 1.042 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3198, allocations: 8 kB / 1.042 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.3204, allocations: 155.8 kB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3204, allocations: 15.92 kB / 1.042 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.3211, allocations: 143 kB / 1.042 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.3212, allocations: 35.98 kB / 1.042 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006527/0.3218, allocations: 396.4 kB / 1.042 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005222/0.3224, allocations: 414.2 kB / 1.043 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007777/0.3232, allocations: 0.5757 MB / 1.043 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.3232, allocations: 0 / 1.043 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001267/0.3244, allocations: 0.7556 MB / 1.044 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.3245, allocations: 44.81 kB / 1.044 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3245, allocations: 4 kB / 1.044 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.3245, allocations: 8 kB / 1.044 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.325, allocations: 131.8 kB / 1.044 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.325, allocations: 15.88 kB / 1.044 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.3256, allocations: 115.7 kB / 1.044 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.3257, allocations: 31.98 kB / 1.044 GB, free: 14.87 MB / 0.8262 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.0002266/0.3259, allocations: 228.3 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.326, allocations: 78.97 kB / 1.045 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.3272, allocations: 0.6592 MB / 1.045 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3272, allocations: 8 kB / 1.045 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3272, allocations: 4 kB / 1.045 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3273, allocations: 7.969 kB / 1.045 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.3297, allocations: 1.659 MB / 1.047 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.3297, allocations: 11.92 kB / 1.047 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.3302, allocations: 136.1 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3303, allocations: 4 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3303, allocations: 16 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3303, allocations: 4 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3303, allocations: 11.98 kB / 1.047 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3321, allocations: 1.081 MB / 1.048 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3323, allocations: 175.9 kB / 1.048 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.3324, allocations: 20 kB / 1.048 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3328, allocations: 47.95 kB / 1.048 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3329, allocations: 44.45 kB / 1.048 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.333, allocations: 23.98 kB / 1.048 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006258/0.3336, allocations: 487 kB / 1.049 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3336, allocations: 0 / 1.049 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001016/0.3346, allocations: 318.8 kB / 1.049 GB, free: 9.719 MB / 0.8262 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.0003288/0.335, allocations: 135.1 kB / 1.049 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.3373, allocations: 1.167 MB / 1.05 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.3373, allocations: 7.984 kB / 1.05 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.3379, allocations: 319.4 kB / 1.051 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.3388, allocations: 185.1 kB / 1.051 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3412, allocations: 1.886 MB / 1.053 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.3417, allocations: 0.9743 MB / 1.054 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.3419, allocations: 67.42 kB / 1.054 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3419, allocations: 3.938 kB / 1.054 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.01359/0.3555, allocations: 10.1 MB / 1.064 GB, free: 10.8 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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