Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.001415/0.001415, allocations: 84.8 kB / 21.56 MB, free: 2.926 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.001827/0.001827, allocations: 167.3 kB / 24.97 MB, free: 8.191 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 1.003/1.003, allocations: 177.2 MB / 205.4 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.031/2.031, allocations: 389.6 MB / 0.6362 GB, free: 13.35 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.776 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.612e-05, allocations: 5.547 kB / 0.776 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.00459/0.004616, allocations: 2.515 MB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.008772, allocations: 2.202 MB / 0.7806 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.009245, allocations: 19.88 kB / 0.7806 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.009602, allocations: 126.5 kB / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.01013, allocations: 158.7 kB / 0.7809 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.01168, allocations: 0.7446 MB / 0.7816 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01314, allocations: 1.274 MB / 0.7828 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.01377, allocations: 352.1 kB / 0.7832 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009034/0.01468, allocations: 0.7057 MB / 0.7839 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.01526, allocations: 362.8 kB / 0.7842 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.0155, allocations: 136 kB / 0.7843 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.01575, allocations: 148 kB / 0.7845 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.01591, allocations: 215.2 kB / 0.7847 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.01628, allocations: 363.1 kB / 0.785 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01745, allocations: 0.8525 MB / 0.7859 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01745, allocations: 0 / 0.7859 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.512e-06/0.01746, allocations: 4 kB / 0.7859 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.01747, allocations: 4 kB / 0.7859 GB, free: 3.738 MB / 0.7448 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.001952/0.01943, allocations: 1.204 MB / 0.787 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01947, allocations: 12.03 kB / 0.7871 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.01971, allocations: 132.8 kB / 0.7872 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.02028, allocations: 378.2 kB / 0.7875 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.02033, allocations: 62.38 kB / 0.7876 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.02042, allocations: 100.3 kB / 0.7877 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.02097, allocations: 0.5856 MB / 0.7883 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.02098, allocations: 192 / 0.7883 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.02102, allocations: 36.3 kB / 0.7883 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.02103, allocations: 16.38 kB / 0.7883 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.02129, allocations: 169 kB / 0.7885 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.023, allocations: 1.256 MB / 0.7897 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.02337, allocations: 269.2 kB / 0.79 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.02353, allocations: 126.2 kB / 0.7901 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.02356, allocations: 8.5 kB / 0.7901 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.02383, allocations: 311.4 kB / 0.7904 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=68): time 2.244e-06/0.02383, allocations: 0 / 0.7904 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of matching and sorting (n=68): time 0.0004786/0.02431, allocations: 365.8 kB / 0.7907 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.02436, allocations: 111.5 kB / 0.7908 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.02463, allocations: 431.1 kB / 0.7913 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.02468, allocations: 57.69 kB / 0.7913 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.02483, allocations: 290.2 kB / 0.7916 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.02494, allocations: 226.1 kB / 0.7918 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.02512, allocations: 170.2 kB / 0.792 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.02523, allocations: 378.6 kB / 0.7923 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.0255, allocations: 308.2 kB / 0.7926 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.02582, allocations: 0.5255 MB / 0.7931 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.02619, allocations: 0.5111 MB / 0.7936 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.02619, allocations: 0 / 0.7936 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006616/0.02685, allocations: 0.7989 MB / 0.7944 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.02693, allocations: 164.5 kB / 0.7946 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02694, allocations: 4 kB / 0.7946 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.02695, allocations: 4 kB / 0.7946 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.02719, allocations: 111.8 kB / 0.7947 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.0272, allocations: 4 kB / 0.7947 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.02755, allocations: 163.4 kB / 0.7948 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.0276, allocations: 35.97 kB / 0.7949 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002985/0.02789, allocations: 390.2 kB / 0.7953 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003155/0.02821, allocations: 0.5255 MB / 0.7958 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003624/0.02857, allocations: 0.5033 MB / 0.7963 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.02857, allocations: 0 / 0.7963 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0006248/0.0292, allocations: 0.7989 MB / 0.797 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.02927, allocations: 164.5 kB / 0.7972 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.02927, allocations: 0 / 0.7972 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.443e-06/0.02928, allocations: 8 kB / 0.7972 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.02947, allocations: 99.83 kB / 0.7973 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.02948, allocations: 11.98 kB / 0.7973 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.0298, allocations: 147.6 kB / 0.7975 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.02985, allocations: 35.97 kB / 0.7975 GB, free: 6.973 MB / 0.7605 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.0001575/0.03001, allocations: 242.1 kB / 0.7977 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.03006, allocations: 71.88 kB / 0.7978 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.03038, allocations: 307.7 kB / 0.7981 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.03039, allocations: 7.984 kB / 0.7981 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.03039, allocations: 0 / 0.7981 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.03045, allocations: 67.45 kB / 0.7982 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.03049, allocations: 15.94 kB / 0.7982 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.03059, allocations: 27.97 kB / 0.7982 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.03066, allocations: 52.56 kB / 0.7982 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003658/0.03103, allocations: 369.1 kB / 0.7986 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004768/0.03151, allocations: 0.5561 MB / 0.7991 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001559/0.03166, allocations: 151.5 kB / 0.7993 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001476/0.03181, allocations: 188.4 kB / 0.7995 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of Backend: time 4.81e-07/0.03181, allocations: 0 / 0.7995 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.03311, allocations: 1.551 MB / 0.801 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of SimCode: time 0.001856/0.03497, allocations: 1.728 MB / 0.8027 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of Templates: time 0.3354/0.3704, allocations: 18.32 MB / 0.8206 GB, free: 36.3 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.662683227099478]