Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009316/0.0009315, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001292/0.001293, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005696/0.0005698, allocations: 12 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.873, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002114/0.8752, allocations: 1.391 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.8769, allocations: 1.213 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.8771, allocations: 11.94 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.8773, allocations: 47.52 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.8774, allocations: 39.7 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.8778, allocations: 107.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.8782, allocations: 417.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.8785, allocations: 192.7 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.8787, allocations: 107.3 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.8788, allocations: 135.1 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.8789, allocations: 12 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.801e-05/0.8789, allocations: 12 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.879, allocations: 55.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.8791, allocations: 85.45 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.8795, allocations: 444.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8795, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.447e-06/0.8795, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8795, allocations: 3.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 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.001116/0.8806, allocations: 0.6744 MB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8807, allocations: 12.56 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.312e-05/0.8808, allocations: 51.34 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.8812, allocations: 335.2 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.8813, allocations: 33 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.8813, allocations: 36 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.882, allocations: 422.9 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8821, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.8821, allocations: 16 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8821, allocations: 8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.8827, allocations: 295.8 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.8847, allocations: 1.394 MB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.8854, allocations: 274.9 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.8857, allocations: 128.7 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.8857, allocations: 4 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.8857, allocations: 34.56 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/0.8857, allocations: 0 / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006753/0.8864, allocations: 326.9 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.8865, allocations: 106.8 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.887, allocations: 401.6 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.887, allocations: 29.7 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.8872, allocations: 259.6 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.8873, allocations: 67.02 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.8873, allocations: 4 kB / 1.031 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8875, allocations: 354.8 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.8877, allocations: 120.5 kB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.8881, allocations: 212.3 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.8884, allocations: 133.6 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8884, allocations: 0 / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006811/0.8891, allocations: 385.1 kB / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.8892, allocations: 150.9 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8892, allocations: 0 / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8892, allocations: 7.938 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.8895, allocations: 79.89 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.8895, allocations: 0 / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.8897, allocations: 75.44 kB / 1.033 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.8898, allocations: 12 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/0.8898, allocations: 4 kB / 1.033 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004085/0.8902, allocations: 247.7 kB / 1.033 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8902, allocations: 4 kB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8902, allocations: 8.219 kB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8905, allocations: 63.91 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8905, allocations: 7.938 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.8906, allocations: 39.67 kB / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.8907, allocations: 16 kB / 1.033 GB, free: 4.703 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.8909, allocations: 233 kB / 1.033 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.8909, allocations: 35.53 kB / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.8914, allocations: 250.6 kB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.8914, allocations: 8 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8915, allocations: 7.984 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.8915, allocations: 0 / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.8927, allocations: 0.8067 MB / 1.034 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8927, allocations: 4 kB / 1.034 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.8929, allocations: 56 kB / 1.034 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8929, allocations: 0 / 1.034 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.8929, allocations: 8 kB / 1.034 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.893, allocations: 4 kB / 1.034 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.893, allocations: 0 / 1.034 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.8937, allocations: 492.8 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.8938, allocations: 124.6 kB / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.8938, allocations: 4 kB / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.894, allocations: 19.98 kB / 1.035 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.8941, allocations: 27.92 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.8941, allocations: 8 kB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003025/0.8944, allocations: 279.2 kB / 1.035 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8944, allocations: 4 kB / 1.035 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000477/0.8949, allocations: 131.5 kB / 1.036 GB, free: 2.098 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.8951, allocations: 115.1 kB / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.8959, allocations: 397.7 kB / 1.036 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8959, allocations: 0 / 1.036 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.8961, allocations: 104.6 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.8967, allocations: 71.72 kB / 1.036 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.8986, allocations: 0.7913 MB / 1.037 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.8991, allocations: 0.796 MB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.8994, allocations: 43.27 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.8995, allocations: 31.42 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.8995, allocations: 0 / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of Templates: time 0.00739/0.9069, allocations: 3.154 MB / 1.041 GB, free: 12.56 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches