Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8631/0.8631, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.639e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003313/0.003349, allocations: 1.64 MB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.005464, allocations: 1.275 MB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.005729, allocations: 11.94 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.005994, allocations: 75.19 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.006366, allocations: 75.33 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.006683, allocations: 155.8 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.007194, allocations: 0.4891 MB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.007585, allocations: 187.7 kB / 0.9861 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.007911, allocations: 271.4 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.008109, allocations: 143.5 kB / 0.9865 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.008188, allocations: 52 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.008243, allocations: 52 kB / 0.9866 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.192e-05/0.008335, allocations: 115.6 kB / 0.9867 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.008462, allocations: 139.5 kB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.009235, allocations: 0.6034 MB / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.009242, allocations: 0 / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.009244, allocations: 0 / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.009252, allocations: 0 / 0.9874 GB, free: 12.73 MB / 0.948 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.001268/0.01052, allocations: 0.7486 MB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.01057, allocations: 12.03 kB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.01068, allocations: 52.61 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.01121, allocations: 297.4 kB / 0.9885 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.01125, allocations: 29.38 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.01132, allocations: 44.33 kB / 0.9885 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/0.01213, allocations: 455 kB / 0.989 GB, free: 11.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01215, allocations: 8.125 kB / 0.989 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.01219, allocations: 24.36 kB / 0.989 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.01221, allocations: 8.375 kB / 0.989 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.01278, allocations: 279.8 kB / 0.9893 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.01486, allocations: 1.14 MB / 0.9904 GB, free: 9.527 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.01566, allocations: 238.9 kB / 0.9906 GB, free: 9.285 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.01588, allocations: 108.8 kB / 0.9907 GB, free: 9.176 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.01592, allocations: 7.984 kB / 0.9907 GB, free: 9.168 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.01596, allocations: 34.56 kB / 0.9908 GB, free: 9.125 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 3.116e-06/0.01596, allocations: 0 / 0.9908 GB, free: 9.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0007219/0.01668, allocations: 295.7 kB / 0.9911 GB, free: 8.832 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.01675, allocations: 102.8 kB / 0.9912 GB, free: 8.707 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.01715, allocations: 348.4 kB / 0.9915 GB, free: 8.359 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.01718, allocations: 29.7 kB / 0.9915 GB, free: 8.324 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.01736, allocations: 267.9 kB / 0.9918 GB, free: 8.059 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.01742, allocations: 75.38 kB / 0.9918 GB, free: 7.984 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.01756, allocations: 70.02 kB / 0.9919 GB, free: 7.906 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01769, allocations: 338.8 kB / 0.9922 GB, free: 7.566 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.01795, allocations: 114.1 kB / 0.9923 GB, free: 7.453 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.01831, allocations: 323.2 kB / 0.9926 GB, free: 7.074 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.01878, allocations: 273.7 kB / 0.9929 GB, free: 6.781 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.01879, allocations: 4 kB / 0.9929 GB, free: 6.777 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006583/0.01944, allocations: 357.1 kB / 0.9933 GB, free: 6.422 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.01947, allocations: 8.219 kB / 0.9933 GB, free: 6.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.01948, allocations: 8 kB / 0.9933 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.0195, allocations: 0 / 0.9933 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.01974, allocations: 79.83 kB / 0.9933 GB, free: 6.328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.01975, allocations: 4 kB / 0.9933 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.01995, allocations: 51.69 kB / 0.9934 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.01998, allocations: 12 kB / 0.9934 GB, free: 6.262 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002562/0.02023, allocations: 204.7 kB / 0.9936 GB, free: 6.059 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004193/0.02065, allocations: 286.2 kB / 0.9939 GB, free: 5.715 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003082/0.02096, allocations: 229.6 kB / 0.9941 GB, free: 5.465 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.155e-06/0.02096, allocations: 4 kB / 0.9941 GB, free: 5.461 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004755/0.02144, allocations: 319.8 kB / 0.9944 GB, free: 5.145 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.02145, allocations: 6.5 kB / 0.9944 GB, free: 5.141 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.02146, allocations: 4 kB / 0.9944 GB, free: 5.137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.02147, allocations: 4 kB / 0.9944 GB, free: 5.133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.02166, allocations: 63.84 kB / 0.9945 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.02167, allocations: 4 kB / 0.9945 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.02185, allocations: 43.83 kB / 0.9945 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.02187, allocations: 8 kB / 0.9945 GB, free: 5.016 MB / 0.948 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.0001314/0.022, allocations: 212.2 kB / 0.9947 GB, free: 4.801 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.02205, allocations: 27.81 kB / 0.9948 GB, free: 4.773 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.02251, allocations: 236.5 kB / 0.995 GB, free: 4.535 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.02252, allocations: 4.078 kB / 0.995 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.02252, allocations: 0 / 0.995 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.02253, allocations: 3.938 kB / 0.995 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.02363, allocations: 0.6621 MB / 0.9956 GB, free: 3.812 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02364, allocations: 0 / 0.9956 GB, free: 3.812 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.02381, allocations: 43.91 kB / 0.9957 GB, free: 3.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-06/0.02381, allocations: 7.938 kB / 0.9957 GB, free: 3.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.02383, allocations: 8 kB / 0.9957 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02384, allocations: 0 / 0.9957 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.02384, allocations: 8.156 kB / 0.9957 GB, free: 3.746 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.02451, allocations: 446.5 kB / 0.9961 GB, free: 3.281 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.02457, allocations: 39.78 kB / 0.9962 GB, free: 3.242 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.02461, allocations: 11.94 kB / 0.9962 GB, free: 3.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.02477, allocations: 15.98 kB / 0.9962 GB, free: 3.215 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.0248, allocations: 19.97 kB / 0.9962 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.02482, allocations: 11.94 kB / 0.9962 GB, free: 3.184 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002416/0.02506, allocations: 235.1 kB / 0.9965 GB, free: 2.957 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.02506, allocations: 0 / 0.9965 GB, free: 2.957 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006252/0.02568, allocations: 159.4 kB / 0.9966 GB, free: 2.801 MB / 0.948 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.000181/0.02586, allocations: 107.2 kB / 0.9967 GB, free: 2.688 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.02657, allocations: 366 kB / 0.9971 GB, free: 2.332 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.02658, allocations: 4 kB / 0.9971 GB, free: 2.328 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.02674, allocations: 85.08 kB / 0.9971 GB, free: 2.246 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.02731, allocations: 84.97 kB / 0.9972 GB, free: 2.164 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02864, allocations: 0.6847 MB / 0.9979 GB, free: 1.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.02882, allocations: 195.8 kB / 0.9981 GB, free: 1.219 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.02893, allocations: 32.48 kB / 0.9981 GB, free: 1.188 MB / 0.948 GB Notification: Performance of SimCode: time 7.61e-07/0.02893, allocations: 0 / 0.9981 GB, free: 1.188 MB / 0.948 GB Notification: Performance of Templates: time 0.007181/0.03611, allocations: 4.295 MB / 1.002 GB, free: 12.91 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.719151615165174]