Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 113.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 489.3 MB / 0.7687 GB, free: 3.934 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.8869, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003143/0.8901, allocations: 1.861 MB / 1.264 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.8919, allocations: 1.266 MB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.8922, allocations: 7.594 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.8924, allocations: 70.45 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.8925, allocations: 55.52 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.8929, allocations: 168.2 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.8934, allocations: 486.1 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.8938, allocations: 278.8 kB / 1.267 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.894, allocations: 172.4 kB / 1.267 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.8942, allocations: 198.2 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.8943, allocations: 52.66 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.8944, allocations: 52.56 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.8945, allocations: 113.2 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.8947, allocations: 211.7 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.8953, allocations: 0.591 MB / 1.268 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8954, allocations: 3.938 kB / 1.268 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8954, allocations: 4.688 kB / 1.268 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8954, allocations: 0 / 1.268 GB, free: 4.426 MB / 0.9981 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.001156/0.8965, allocations: 0.7443 MB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.8966, allocations: 9.625 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.8967, allocations: 54.19 kB / 1.269 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.8971, allocations: 352.2 kB / 1.269 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.8972, allocations: 30.25 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.8973, allocations: 39.19 kB / 1.269 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.898, allocations: 416.2 kB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.898, allocations: 192 / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.8981, allocations: 20.77 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.8981, allocations: 9.844 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.8987, allocations: 282.1 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.9007, allocations: 1.363 MB / 1.271 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.9015, allocations: 241.9 kB / 1.271 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.9017, allocations: 124.5 kB / 1.272 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.9018, allocations: 2.875 kB / 1.272 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.9018, allocations: 41.48 kB / 1.272 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.9018, allocations: 0 / 1.272 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0007136/0.9025, allocations: 300.7 kB / 1.272 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.9026, allocations: 109.2 kB / 1.272 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.9031, allocations: 406.1 kB / 1.272 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.9031, allocations: 31.33 kB / 1.272 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.9033, allocations: 257.5 kB / 1.273 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.9033, allocations: 74.45 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.9034, allocations: 71.8 kB / 1.273 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.9035, allocations: 349.8 kB / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.9038, allocations: 112.8 kB / 1.273 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.9041, allocations: 214.3 kB / 1.273 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.9046, allocations: 268.7 kB / 1.274 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9046, allocations: 0 / 1.274 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007285/0.9053, allocations: 374.3 kB / 1.274 GB, free: 468 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.9054, allocations: 6.031 kB / 1.274 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.9054, allocations: 2.156 kB / 1.274 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.9054, allocations: 7.5 kB / 1.274 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.9057, allocations: 77.28 kB / 1.274 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.9057, allocations: 7.562 kB / 1.274 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.906, allocations: 55.05 kB / 1.274 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.906, allocations: 15.91 kB / 1.274 GB, free: 416 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002526/0.9063, allocations: 200.4 kB / 1.274 GB, free: 276 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001981/0.9065, allocations: 184.7 kB / 1.275 GB, free: 120 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00032/0.9068, allocations: 230 kB / 1.275 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.9068, allocations: 0 / 1.275 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005704/0.9074, allocations: 328.9 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.9074, allocations: 5.938 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9074, allocations: 2.094 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.9074, allocations: 7.766 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.9077, allocations: 64.5 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.9077, allocations: 7.562 kB / 1.275 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.9079, allocations: 43.89 kB / 1.275 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.9079, allocations: 8.656 kB / 1.275 GB, free: 15.75 MB / 1.014 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.0001765/0.9081, allocations: 197.1 kB / 1.275 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.9082, allocations: 40.33 kB / 1.276 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.9088, allocations: 249.3 kB / 1.276 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9088, allocations: 1.219 kB / 1.276 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9088, allocations: 1.094 kB / 1.276 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9088, allocations: 1.078 kB / 1.276 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.9102, allocations: 0.7897 MB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9102, allocations: 1.25 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.9105, allocations: 44.52 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9106, allocations: 2.906 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.9106, allocations: 7.031 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9106, allocations: 1.719 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9106, allocations: 2.156 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.9116, allocations: 469.6 kB / 1.277 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.9117, allocations: 119.2 kB / 1.277 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.9118, allocations: 7.625 kB / 1.277 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.912, allocations: 18.36 kB / 1.277 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.912, allocations: 19.3 kB / 1.277 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.912, allocations: 8.547 kB / 1.277 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003579/0.9124, allocations: 291.6 kB / 1.277 GB, free: 14.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9124, allocations: 0 / 1.277 GB, free: 14.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005297/0.9129, allocations: 127.6 kB / 1.278 GB, free: 14.26 MB / 1.014 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.000193/0.9131, allocations: 114.3 kB / 1.278 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008933/0.914, allocations: 389.4 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.914, allocations: 1.438 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.9143, allocations: 97.56 kB / 1.278 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.915, allocations: 78.17 kB / 1.278 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.9163, allocations: 0.7103 MB / 1.279 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.9168, allocations: 0.7964 MB / 1.28 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.917, allocations: 31.73 kB / 1.28 GB, free: 12.79 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.917, allocations: 0 / 1.28 GB, free: 12.79 MB / 1.014 GB Notification: Performance of Templates: time 0.01001/0.927, allocations: 4.352 MB / 1.284 GB, free: 12.32 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.753013629000634]