Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.371/2.371, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 198.2 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 114.8 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 49.77 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2813, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.003469/0.2848, allocations: 2.794 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2877, allocations: 2.141 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.2882, allocations: 15.94 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.2885, allocations: 91.11 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.2887, allocations: 99.27 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.2902, allocations: 0.6942 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.2909, allocations: 1.141 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.2914, allocations: 475.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2917, allocations: 402.4 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.292, allocations: 421.9 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2922, allocations: 60 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.2923, allocations: 79.98 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.2924, allocations: 155.3 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.2927, allocations: 437.6 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.2935, allocations: 1.306 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2935, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2935, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.2935, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002011/0.2955, allocations: 1.332 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2956, allocations: 11.98 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.2958, allocations: 111.8 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.2964, allocations: 0.5444 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.2965, allocations: 66.36 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2966, allocations: 92.38 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.2975, allocations: 0.665 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2975, allocations: 4.172 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.2976, allocations: 43.86 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.2976, allocations: 16 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.2983, allocations: 477 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.301, allocations: 2.207 MB / 1.234 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.3019, allocations: 0.5421 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.3023, allocations: 278.4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.3024, allocations: 12.55 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.3029, allocations: 362.9 kB / 1.235 GB, free: 99.99 MB / 0.823 GB Notification: Performance of pre-optimization done (n=68): time 2.825e-06/0.3029, allocations: 0 / 1.235 GB, free: 99.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=68): time 0.001189/0.3041, allocations: 0.7519 MB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3042, allocations: 123.4 kB / 1.236 GB, free: 99.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.3047, allocations: 0.534 MB / 1.236 GB, free: 98.54 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.3047, allocations: 49.7 kB / 1.236 GB, free: 98.48 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3049, allocations: 344.7 kB / 1.236 GB, free: 98.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3051, allocations: 208.9 kB / 1.237 GB, free: 97.94 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.3053, allocations: 178.3 kB / 1.237 GB, free: 97.76 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.3054, allocations: 382.8 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.306, allocations: 343.7 kB / 1.237 GB, free: 97.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.3067, allocations: 482.7 kB / 1.238 GB, free: 96.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/0.3076, allocations: 0.7496 MB / 1.239 GB, free: 95.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3076, allocations: 0 / 1.239 GB, free: 95.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00166/0.3093, allocations: 1.09 MB / 1.24 GB, free: 94.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.3094, allocations: 168.5 kB / 1.24 GB, free: 94.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3094, allocations: 4.312 kB / 1.24 GB, free: 94.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.3094, allocations: 12 kB / 1.24 GB, free: 94.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.3098, allocations: 103.8 kB / 1.24 GB, free: 94.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.3098, allocations: 15.88 kB / 1.24 GB, free: 94.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.3109, allocations: 211.1 kB / 1.24 GB, free: 94.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.311, allocations: 47.97 kB / 1.24 GB, free: 93.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007307/0.3118, allocations: 469.7 kB / 1.241 GB, free: 93.53 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005403/0.3123, allocations: 454.8 kB / 1.241 GB, free: 93.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006963/0.313, allocations: 0.6988 MB / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.313, allocations: 4 kB / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001383/0.3144, allocations: 1.043 MB / 1.243 GB, free: 91.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.3145, allocations: 169.7 kB / 1.243 GB, free: 90.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3145, allocations: 4 kB / 1.243 GB, free: 90.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.3145, allocations: 8.312 kB / 1.243 GB, free: 90.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.3149, allocations: 99.83 kB / 1.243 GB, free: 90.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3149, allocations: 7.984 kB / 1.243 GB, free: 90.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.3158, allocations: 207.2 kB / 1.243 GB, free: 90.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.3159, allocations: 43.97 kB / 1.243 GB, free: 90.63 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0002172/0.3161, allocations: 239 kB / 1.244 GB, free: 90.39 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.3162, allocations: 67.09 kB / 1.244 GB, free: 90.32 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/0.3171, allocations: 0.6032 MB / 1.244 GB, free: 89.71 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3171, allocations: 4 kB / 1.244 GB, free: 89.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3171, allocations: 7.938 kB / 1.244 GB, free: 89.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3172, allocations: 3.984 kB / 1.244 GB, free: 89.69 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3188, allocations: 1.428 MB / 1.246 GB, free: 88.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3188, allocations: 0 / 1.246 GB, free: 88.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.3191, allocations: 99.7 kB / 1.246 GB, free: 88.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3191, allocations: 4 kB / 1.246 GB, free: 88.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.3192, allocations: 15.98 kB / 1.246 GB, free: 88.08 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3192, allocations: 4 kB / 1.246 GB, free: 88.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3192, allocations: 8.094 kB / 1.246 GB, free: 88.07 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.3249, allocations: 4.622 MB / 1.25 GB, free: 83.28 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.325, allocations: 160.1 kB / 1.25 GB, free: 83.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3251, allocations: 12 kB / 1.25 GB, free: 83.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.3254, allocations: 43.95 kB / 1.251 GB, free: 83.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3255, allocations: 60.42 kB / 1.251 GB, free: 82.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3256, allocations: 27.92 kB / 1.251 GB, free: 82.96 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3259, allocations: 370.9 kB / 1.251 GB, free: 82.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3259, allocations: 0 / 1.251 GB, free: 82.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001148/0.327, allocations: 430.8 kB / 1.251 GB, free: 82.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (PIDWitInpGai.I.y,PIDWitInpGai.D.x,PID.I.y,PID.D.x) * Number of discrete variables: 20 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,resSig.y,k.booPul.y,Ti.booPul.y,Td.booPul.y,lesThr.lesHys.y,greThr.y,or2.y) * Number of discrete states: 2 (PIDWitInpGai.greThrkTd.greHys.y,lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001746/0.3272, allocations: 136.2 kB / 1.252 GB, free: 82.04 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002/0.3292, allocations: 1.822 MB / 1.253 GB, free: 80.09 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3293, allocations: 4.312 kB / 1.253 GB, free: 80.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.3297, allocations: 295 kB / 1.254 GB, free: 79.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.3305, allocations: 146.3 kB / 1.254 GB, free: 79.66 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3324, allocations: 1.887 MB / 1.256 GB, free: 77.72 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3327, allocations: 0.9468 MB / 1.256 GB, free: 76.75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003103/0.333, allocations: 85.3 kB / 1.257 GB, free: 76.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3332, allocations: 63.41 kB / 1.257 GB, free: 76.6 MB / 0.823 GB Notification: Performance of SimCode: time 6.02e-07/0.3332, allocations: 0 / 1.257 GB, free: 76.6 MB / 0.823 GB Notification: Performance of Templates: time 0.01721/0.3504, allocations: 13.75 MB / 1.27 GB, free: 62.98 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1)