Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_11_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_11_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.001516/0.001516, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001441/0.001441, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.566/2.566, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 64.77 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2979, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003177/0.3011, allocations: 1.875 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3028, allocations: 1.24 MB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.303, allocations: 11.94 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3032, allocations: 47.52 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3033, allocations: 39.72 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3037, allocations: 139.9 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.3041, allocations: 489 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.3045, allocations: 279.4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3047, allocations: 175.2 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3049, allocations: 198.9 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.305, allocations: 52 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.3051, allocations: 56 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.3052, allocations: 107.6 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3053, allocations: 210.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.3058, allocations: 463.2 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3058, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3058, allocations: 4 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3058, allocations: 0 / 1.069 GB, free: 9.707 MB / 0.8419 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.001175/0.307, allocations: 0.7368 MB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.307, allocations: 12.62 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.3071, allocations: 48.38 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.3076, allocations: 348.2 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3076, allocations: 33.38 kB / 1.071 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.3077, allocations: 44.28 kB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.3084, allocations: 403.6 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3084, allocations: 4.188 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3084, allocations: 19.94 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3084, allocations: 15.94 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.309, allocations: 275.9 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.311, allocations: 1.382 MB / 1.073 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.3117, allocations: 246.9 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.312, allocations: 112.8 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.312, allocations: 0 / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.312, allocations: 42.55 kB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 9.41e-07/0.312, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0006573/0.3127, allocations: 299.1 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.3128, allocations: 106.8 kB / 1.073 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.3133, allocations: 405.5 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3133, allocations: 29.7 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3135, allocations: 251.7 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.3135, allocations: 74.94 kB / 1.074 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3137, allocations: 73.92 kB / 1.074 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3138, allocations: 346.8 kB / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3141, allocations: 110.1 kB / 1.075 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.3145, allocations: 216.3 kB / 1.075 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.3149, allocations: 273.6 kB / 1.075 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.315, allocations: 4 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006803/0.3156, allocations: 364.9 kB / 1.075 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3157, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3157, allocations: 4 kB / 1.075 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.3157, allocations: 7.938 kB / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.316, allocations: 75.78 kB / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.316, allocations: 12.2 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3162, allocations: 55.52 kB / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3163, allocations: 12 kB / 1.076 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002659/0.3165, allocations: 204.7 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002358/0.3168, allocations: 183.1 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003189/0.3171, allocations: 231.2 kB / 1.076 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.3171, allocations: 4 kB / 1.076 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004906/0.3176, allocations: 305 kB / 1.076 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3176, allocations: 10.34 kB / 1.076 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3177, allocations: 224 / 1.076 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.3177, allocations: 15.92 kB / 1.076 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3179, allocations: 67.8 kB / 1.077 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3179, allocations: 4 kB / 1.077 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3181, allocations: 39.72 kB / 1.077 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3181, allocations: 16 kB / 1.077 GB, free: 1.895 MB / 0.8419 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.0001377/0.3183, allocations: 197.9 kB / 1.077 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.3184, allocations: 31.62 kB / 1.077 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.3188, allocations: 243.7 kB / 1.077 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3189, allocations: 4 kB / 1.077 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3189, allocations: 3.938 kB / 1.077 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3189, allocations: 3.984 kB / 1.077 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3201, allocations: 0.7949 MB / 1.078 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3201, allocations: 0 / 1.078 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3203, allocations: 39.92 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.3203, allocations: 7.984 kB / 1.078 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3203, allocations: 4.156 kB / 1.078 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3204, allocations: 8 kB / 1.078 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3204, allocations: 96 / 1.078 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.3211, allocations: 463.1 kB / 1.078 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4714/0.7925, allocations: 115.1 kB / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.7926, allocations: 7.219 kB / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.7929, allocations: 21.47 kB / 1.078 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.793, allocations: 18.62 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.793, allocations: 6.281 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003723/0.7934, allocations: 286.6 kB / 1.079 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7934, allocations: 0.5312 kB / 1.079 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006074/0.794, allocations: 128.9 kB / 1.079 GB, free: 22.51 MB / 0.8419 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.0001729/0.7942, allocations: 111.6 kB / 1.079 GB, free: 22.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008867/0.7951, allocations: 397.6 kB / 1.079 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7951, allocations: 1.062 kB / 1.079 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.7953, allocations: 97.36 kB / 1.079 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.7959, allocations: 74.66 kB / 1.08 GB, free: 22.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.7972, allocations: 0.8403 MB / 1.08 GB, free: 21.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7974, allocations: 0.7996 MB / 1.081 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.7975, allocations: 32 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.7975, allocations: 0 / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.008195/0.8057, allocations: 4.336 MB / 1.085 GB, free: 20.67 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches