Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005213/0.005213, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001202/0.001202, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 66.89 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3094, allocations: 157.4 MB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003534/0.313, allocations: 1.881 MB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3148, allocations: 1.224 MB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.3152, allocations: 11.94 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.3155, allocations: 51.52 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3158, allocations: 43.7 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.3162, allocations: 143.8 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.3167, allocations: 457 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.3173, allocations: 250.3 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.3177, allocations: 143.3 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.318, allocations: 179 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.3181, allocations: 24 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.3182, allocations: 24 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.3182, allocations: 87.61 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3184, allocations: 174.9 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.3188, allocations: 431.3 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3188, allocations: 0 / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3188, allocations: 0 / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.3189, allocations: 0 / 1.058 GB, free: 3.082 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001537/0.3204, allocations: 0.7291 MB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3205, allocations: 11.97 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3206, allocations: 48.38 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.3211, allocations: 336.3 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.3212, allocations: 29.38 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.3213, allocations: 40.38 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.322, allocations: 391.6 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.322, allocations: 4.125 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.322, allocations: 19.94 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.322, allocations: 8 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.3226, allocations: 271.9 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.3251, allocations: 1.366 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.3259, allocations: 254.7 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.3262, allocations: 123.4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3262, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.3264, allocations: 38.56 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3264, allocations: 4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0007926/0.3272, allocations: 302.9 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.3272, allocations: 102.8 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.3277, allocations: 405.6 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3278, allocations: 33.7 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3279, allocations: 235.9 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.328, allocations: 74.89 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3281, allocations: 65.69 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3283, allocations: 346.8 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3286, allocations: 120.8 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.329, allocations: 197.1 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.3295, allocations: 271.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3295, allocations: 0 / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007801/0.3303, allocations: 370.5 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3304, allocations: 9.031 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3304, allocations: 7.984 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3304, allocations: 4 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3307, allocations: 79.77 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3307, allocations: 8.156 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.331, allocations: 59.5 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.3311, allocations: 8 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003001/0.3314, allocations: 208.1 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002484/0.3316, allocations: 171 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003443/0.332, allocations: 230.5 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.332, allocations: 4 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006267/0.3326, allocations: 315.1 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3327, allocations: 8 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3327, allocations: 3.938 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.3327, allocations: 4 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.3329, allocations: 63.91 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3329, allocations: 4 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.3332, allocations: 35.98 kB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3332, allocations: 12 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001187/0.3333, allocations: 204.1 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.3334, allocations: 39.47 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.3339, allocations: 246.9 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3339, allocations: 4 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3339, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3339, allocations: 3.984 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3354, allocations: 0.852 MB / 1.066 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3354, allocations: 0 / 1.066 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3357, allocations: 47.91 kB / 1.066 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3357, allocations: 256 / 1.066 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3357, allocations: 12 kB / 1.066 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3357, allocations: 4 kB / 1.066 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3357, allocations: 4 kB / 1.066 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.3365, allocations: 488.3 kB / 1.067 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.3366, allocations: 120.7 kB / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3366, allocations: 15.98 kB / 1.067 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.3368, allocations: 11.98 kB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3369, allocations: 23.86 kB / 1.067 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3369, allocations: 8 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000321/0.3372, allocations: 287.2 kB / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3372, allocations: 0 / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005121/0.3377, allocations: 131.5 kB / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.000167/0.3379, allocations: 115.2 kB / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.3388, allocations: 390.5 kB / 1.068 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.3388, allocations: 8.188 kB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.339, allocations: 99.77 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.3397, allocations: 77.95 kB / 1.068 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3411, allocations: 0.8564 MB / 1.069 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3415, allocations: 0.7999 MB / 1.07 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3417, allocations: 35.42 kB / 1.07 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3417, allocations: 0 / 1.07 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.007362/0.349, allocations: 4.239 MB / 1.074 GB, free: 2.074 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches