Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 184.8 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.44/0.44, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007292/0.0007293, allocations: 92.78 kB / 425.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 16 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2996, allocations: 71.32 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002658/0.3023, allocations: 2.653 MB / 0.5678 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3036, allocations: 0.9023 MB / 0.5687 GB, free: 38.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.3038, allocations: 15.88 kB / 0.5687 GB, free: 38.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.304, allocations: 55.5 kB / 0.5687 GB, free: 38.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3042, allocations: 74.17 kB / 0.5688 GB, free: 38.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3046, allocations: 220.6 kB / 0.569 GB, free: 38.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3049, allocations: 0.5041 MB / 0.5695 GB, free: 37.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.3052, allocations: 238.1 kB / 0.5697 GB, free: 37.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3054, allocations: 147.1 kB / 0.5699 GB, free: 37.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3055, allocations: 151 kB / 0.57 GB, free: 37.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.3056, allocations: 12 kB / 0.57 GB, free: 37.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.3056, allocations: 23.94 kB / 0.57 GB, free: 37.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.3057, allocations: 59.69 kB / 0.5701 GB, free: 37.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3058, allocations: 212.4 kB / 0.5703 GB, free: 37.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.3061, allocations: 0.5235 MB / 0.5708 GB, free: 36.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3061, allocations: 0 / 0.5708 GB, free: 36.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3061, allocations: 0 / 0.5708 GB, free: 36.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3061, allocations: 0 / 0.5708 GB, free: 36.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008563/0.307, allocations: 0.6959 MB / 0.5715 GB, free: 35.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.307, allocations: 8.031 kB / 0.5715 GB, free: 35.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.3071, allocations: 56.28 kB / 0.5716 GB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3076, allocations: 408.7 kB / 0.572 GB, free: 35.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3076, allocations: 29.38 kB / 0.572 GB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.3077, allocations: 36.38 kB / 0.572 GB, free: 35.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.3082, allocations: 401.9 kB / 0.5724 GB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3082, allocations: 4 kB / 0.5724 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3082, allocations: 12 kB / 0.5724 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3083, allocations: 12 kB / 0.5724 GB, free: 34.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.3087, allocations: 263.8 kB / 0.5727 GB, free: 34.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3101, allocations: 1.328 MB / 0.574 GB, free: 33.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.3107, allocations: 306.6 kB / 0.5743 GB, free: 32.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.3109, allocations: 152.6 kB / 0.5744 GB, free: 32.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.311, allocations: 4.5 kB / 0.5744 GB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.3113, allocations: 176.6 kB / 0.5746 GB, free: 32.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.3113, allocations: 0 / 0.5746 GB, free: 32.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000656/0.312, allocations: 384.9 kB / 0.5749 GB, free: 32.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.312, allocations: 85.11 kB / 0.575 GB, free: 32.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.3123, allocations: 353.5 kB / 0.5754 GB, free: 31.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3124, allocations: 33.7 kB / 0.5754 GB, free: 31.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3125, allocations: 240.3 kB / 0.5756 GB, free: 31.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.3125, allocations: 102.5 kB / 0.5757 GB, free: 31.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.3125, allocations: 16 kB / 0.5757 GB, free: 31.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.3126, allocations: 346.8 kB / 0.5761 GB, free: 30.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3128, allocations: 100.7 kB / 0.5762 GB, free: 30.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.313, allocations: 176.3 kB / 0.5763 GB, free: 30.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.3134, allocations: 263.8 kB / 0.5766 GB, free: 30.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3134, allocations: 0 / 0.5766 GB, free: 30.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004663/0.3139, allocations: 350.7 kB / 0.5769 GB, free: 30.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3139, allocations: 8 kB / 0.5769 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3139, allocations: 8 kB / 0.5769 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3139, allocations: 4 kB / 0.5769 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3142, allocations: 63.91 kB / 0.577 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3142, allocations: 7.984 kB / 0.577 GB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3144, allocations: 39.67 kB / 0.577 GB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3144, allocations: 16 kB / 0.5771 GB, free: 29.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001384/0.3145, allocations: 178.2 kB / 0.5772 GB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.3146, allocations: 39.53 kB / 0.5773 GB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.3147, allocations: 44.25 kB / 0.5773 GB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3147, allocations: 4 kB / 0.5773 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3147, allocations: 7.969 kB / 0.5773 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3147, allocations: 0 / 0.5773 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.3155, allocations: 0.815 MB / 0.5781 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3155, allocations: 0 / 0.5781 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3158, allocations: 43.98 kB / 0.5782 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3158, allocations: 0 / 0.5782 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3158, allocations: 11.98 kB / 0.5782 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3158, allocations: 3.938 kB / 0.5782 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3158, allocations: 4 kB / 0.5782 GB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.3165, allocations: 0.5141 MB / 0.5787 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.3166, allocations: 140.6 kB / 0.5788 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.3166, allocations: 4 kB / 0.5788 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3168, allocations: 27.98 kB / 0.5788 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.3169, allocations: 27.95 kB / 0.5789 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3169, allocations: 8 kB / 0.5789 GB, free: 27.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3171, allocations: 239.2 kB / 0.5791 GB, free: 27.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3171, allocations: 0 / 0.5791 GB, free: 27.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.3173, allocations: 91.62 kB / 0.5792 GB, free: 27.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001045/0.3175, allocations: 121.2 kB / 0.5793 GB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.3179, allocations: 267.6 kB / 0.5796 GB, free: 27.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3179, allocations: 0 / 0.5796 GB, free: 27.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3181, allocations: 140.4 kB / 0.5797 GB, free: 27.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3186, allocations: 78.77 kB / 0.5798 GB, free: 26.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3197, allocations: 1.018 MB / 0.5808 GB, free: 25.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.3199, allocations: 0.8152 MB / 0.5816 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.3201, allocations: 47.25 kB / 0.5816 GB, free: 25.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.3202, allocations: 35.42 kB / 0.5816 GB, free: 25.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3202, allocations: 0 / 0.5816 GB, free: 25.02 MB / 410.7 MB Notification: Performance of Templates: time 0.006119/0.3263, allocations: 3.341 MB / 0.5849 GB, free: 21.69 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)