Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.586/2.586, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 186.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 97.89 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 11.78 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2126, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00498/0.2176, allocations: 3.673 MB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.2205, allocations: 1.05 MB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008369/0.2214, allocations: 19.94 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2216, allocations: 87.02 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009263/0.2226, allocations: 163.4 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.2234, allocations: 275.6 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.2248, allocations: 0.6676 MB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008616/0.2257, allocations: 481.1 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.226, allocations: 250.5 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.2264, allocations: 313.9 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.491e-05/0.2265, allocations: 28 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.2266, allocations: 28 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2267, allocations: 143.2 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.2269, allocations: 177.1 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.228, allocations: 1.091 MB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.228, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2281, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.2281, allocations: 3.938 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003029/0.2311, allocations: 1.252 MB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2312, allocations: 12.02 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.2315, allocations: 134.4 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2326, allocations: 0.5937 MB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.2327, allocations: 70 kB / 0.9884 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.2329, allocations: 100 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.2351, allocations: 0.9057 MB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.2352, allocations: 0 / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2353, allocations: 40 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.2353, allocations: 27.94 kB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.2374, allocations: 0.6715 MB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.2435, allocations: 2.892 MB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2454, allocations: 0.7339 MB / 0.9937 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.2455, allocations: 12.64 kB / 0.9937 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.2466, allocations: 368.4 kB / 0.994 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.747e-06/0.2466, allocations: 0 / 0.994 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002645/0.2492, allocations: 0.8718 MB / 0.9949 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.2494, allocations: 170.8 kB / 0.995 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.2503, allocations: 0.6254 MB / 0.9957 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.2505, allocations: 45.7 kB / 0.9957 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.2508, allocations: 460.1 kB / 0.9961 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.251, allocations: 252.3 kB / 0.9964 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.2511, allocations: 16 kB / 0.9964 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.2512, allocations: 330 kB / 0.9967 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.252, allocations: 261.9 kB / 0.997 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.253, allocations: 378 kB / 0.9973 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.2539, allocations: 294.9 kB / 0.9976 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2539, allocations: 0 / 0.9976 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002105/0.256, allocations: 0.7622 MB / 0.9983 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.2562, allocations: 456.9 kB / 0.9988 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2562, allocations: 0 / 0.9988 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.2562, allocations: 8 kB / 0.9988 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.2574, allocations: 163.8 kB / 0.9989 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2575, allocations: 4 kB / 0.9989 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.2582, allocations: 119.2 kB / 0.9991 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.2583, allocations: 24 kB / 0.9991 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2583, allocations: 6.188 kB / 0.9991 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/0.2596, allocations: 0.5427 MB / 0.9996 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2596, allocations: 0 / 0.9996 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2596, allocations: 4 kB / 0.9996 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.2605, allocations: 143.8 kB / 0.9998 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2606, allocations: 15.81 kB / 0.9998 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.2612, allocations: 87.47 kB / 0.9999 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.2613, allocations: 20 kB / 0.9999 GB, free: 5.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0005174/0.2618, allocations: 301 kB / 1 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2619, allocations: 82.92 kB / 1 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.2621, allocations: 92.25 kB / 1 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2622, allocations: 8 kB / 1 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.2622, allocations: 0 / 1 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.2622, allocations: 3.984 kB / 1 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.2656, allocations: 1.659 MB / 1.002 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2656, allocations: 0 / 1.002 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.2668, allocations: 151.8 kB / 1.002 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.2668, allocations: 4 kB / 1.002 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.2669, allocations: 12 kB / 1.002 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.2669, allocations: 4 kB / 1.002 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2669, allocations: 0 / 1.002 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.2697, allocations: 1.1 MB / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.27, allocations: 160 kB / 1.003 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.2701, allocations: 16 kB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.2709, allocations: 55.95 kB / 1.003 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.271, allocations: 44.59 kB / 1.003 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.2711, allocations: 20 kB / 1.003 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006872/0.2718, allocations: 435 kB / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.372e-06/0.2718, allocations: 96 / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001023/0.2729, allocations: 334.2 kB / 1.004 GB, free: 1.199 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001887/0.2731, allocations: 127.1 kB / 1.004 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.2756, allocations: 0.9347 MB / 1.005 GB, free: 136 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.2756, allocations: 4 kB / 1.005 GB, free: 132 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009984/0.2766, allocations: 332 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.2778, allocations: 151 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.2824, allocations: 1.977 MB / 1.008 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.2832, allocations: 1.029 MB / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006844/0.2839, allocations: 89.98 kB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2843, allocations: 59.42 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.2843, allocations: 0 / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.02791/0.3122, allocations: 7.155 MB / 1.016 GB, free: 5.355 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)