Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 107.8 kB / 15.99 MB, free: 6.367 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.002016/0.002016, allocations: 189.2 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.324/1.324, 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 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 73.19 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 140.4 MB / 0.9498 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.00349/0.2841, allocations: 1.884 MB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2862, allocations: 1.248 MB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.2866, allocations: 8 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.2869, allocations: 51.45 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.2872, allocations: 31.78 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.2876, allocations: 143.9 kB / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.2882, allocations: 489 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.2887, allocations: 271.4 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.2889, allocations: 183.2 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2891, allocations: 202.9 kB / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.2892, allocations: 52 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.2893, allocations: 52 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.459e-05/0.2894, allocations: 107.6 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.2895, allocations: 210.8 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.29, allocations: 459.2 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.29, allocations: 4 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.29, allocations: 0 / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.29, allocations: 0 / 0.955 GB, free: 3.891 MB / 0.7325 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.001188/0.2912, allocations: 0.7421 MB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2912, allocations: 8.031 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.2914, allocations: 56.36 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.2918, allocations: 344.3 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2918, allocations: 29.38 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.2918, allocations: 44.38 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.2925, allocations: 411.5 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2925, allocations: 192 / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2926, allocations: 23.94 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2926, allocations: 11.94 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.2931, allocations: 279.8 kB / 0.9569 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.295, allocations: 1.374 MB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/0.2958, allocations: 250.8 kB / 0.9585 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.296, allocations: 120.8 kB / 0.9586 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.296, allocations: 4 kB / 0.9586 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2961, allocations: 34.56 kB / 0.9586 GB, free: 0 / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-05/0.2961, allocations: 0 / 0.9586 GB, free: 0 / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0006352/0.2967, allocations: 306.8 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2968, allocations: 110.8 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.2972, allocations: 401.5 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2973, allocations: 33.7 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2975, allocations: 243.8 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.2975, allocations: 74.91 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2976, allocations: 70.02 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.2979, allocations: 350.8 kB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.2981, allocations: 110.1 kB / 0.9602 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.2984, allocations: 208.3 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.299, allocations: 281.7 kB / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.299, allocations: 3.828 kB / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006854/0.2997, allocations: 360.9 kB / 0.9611 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2997, allocations: 11.98 kB / 0.9611 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2997, allocations: 0 / 0.9611 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2997, allocations: 7.938 kB / 0.9611 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3, allocations: 71.91 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3, allocations: 4 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3003, allocations: 59.72 kB / 0.9612 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3003, allocations: 8 kB / 0.9612 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000249/0.3006, allocations: 204.3 kB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002105/0.3008, allocations: 191 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003684/0.3012, allocations: 241.4 kB / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.3012, allocations: 0 / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004843/0.3017, allocations: 314.8 kB / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3017, allocations: 6.344 kB / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3017, allocations: 4 kB / 0.9621 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.3017, allocations: 4 kB / 0.9621 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.3019, allocations: 68.06 kB / 0.9622 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3019, allocations: 8 kB / 0.9622 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3021, allocations: 31.83 kB / 0.9622 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3022, allocations: 15.98 kB / 0.9622 GB, free: 12.07 MB / 0.7481 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.0001355/0.3023, allocations: 196.1 kB / 0.9624 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.3024, allocations: 35.53 kB / 0.9625 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.3028, allocations: 244.9 kB / 0.9627 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3028, allocations: 4 kB / 0.9627 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3029, allocations: 3.938 kB / 0.9627 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3029, allocations: 3.984 kB / 0.9627 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3041, allocations: 0.7832 MB / 0.9635 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3041, allocations: 7.922 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3043, allocations: 43.92 kB / 0.9635 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3043, allocations: 4 kB / 0.9635 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3043, allocations: 7.984 kB / 0.9635 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3043, allocations: 0 / 0.9635 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3043, allocations: 8.156 kB / 0.9635 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.305, allocations: 463.4 kB / 0.964 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3051, allocations: 120.7 kB / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3052, allocations: 4 kB / 0.9641 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3054, allocations: 15.98 kB / 0.9641 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.3054, allocations: 20.11 kB / 0.9641 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3054, allocations: 15.98 kB / 0.9642 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002919/0.3057, allocations: 279.2 kB / 0.9644 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3057, allocations: 3.938 kB / 0.9644 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000487/0.3062, allocations: 131.4 kB / 0.9646 GB, free: 9.578 MB / 0.7481 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.0001641/0.3064, allocations: 115.2 kB / 0.9647 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007701/0.3072, allocations: 395.9 kB / 0.965 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3072, allocations: 4 kB / 0.965 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3074, allocations: 97.02 kB / 0.9651 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.308, allocations: 79.89 kB / 0.9652 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3094, allocations: 0.8428 MB / 0.966 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3098, allocations: 0.8034 MB / 0.9668 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3099, allocations: 35.42 kB / 0.9669 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.3099, allocations: 0 / 0.9669 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of Templates: time 0.007625/0.3175, allocations: 4.323 MB / 0.9711 GB, free: 2.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches