Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008884/0.0008885, allocations: 185.3 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 443.2 MB / 0.7181 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8.219 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3047, allocations: 155.2 MB / 1.032 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003598/0.3083, allocations: 2.813 MB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3099, allocations: 0.9231 MB / 1.035 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.3102, allocations: 15.94 kB / 1.035 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.3104, allocations: 55.5 kB / 1.035 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3106, allocations: 71.42 kB / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.3111, allocations: 222.7 kB / 1.036 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.3116, allocations: 0.5075 MB / 1.036 GB, free: 108 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.312, allocations: 231.3 kB / 1.036 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3122, allocations: 143.1 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3124, allocations: 158.9 kB / 1.037 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.3124, allocations: 12 kB / 1.037 GB, free: 15.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.3124, allocations: 12 kB / 1.037 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.3125, allocations: 71.64 kB / 1.037 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3127, allocations: 216.4 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.3131, allocations: 435.1 kB / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3131, allocations: 0 / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3131, allocations: 0 / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3131, allocations: 0 / 1.037 GB, free: 14.84 MB / 0.795 GB 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.001042/0.3142, allocations: 0.6844 MB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3142, allocations: 8.031 kB / 1.038 GB, free: 14.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.3143, allocations: 60.27 kB / 1.038 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.3149, allocations: 420.5 kB / 1.038 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3149, allocations: 33.36 kB / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.315, allocations: 36.38 kB / 1.039 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.3157, allocations: 397.9 kB / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3157, allocations: 7.938 kB / 1.039 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.3158, allocations: 16 kB / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3158, allocations: 8 kB / 1.039 GB, free: 13.08 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.3163, allocations: 263.9 kB / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.318, allocations: 1.324 MB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.3187, allocations: 321.3 kB / 1.041 GB, free: 11.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.319, allocations: 146.3 kB / 1.041 GB, free: 10.96 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.319, allocations: 7.984 kB / 1.041 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.3194, allocations: 177.5 kB / 1.041 GB, free: 10.76 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.3194, allocations: 0 / 1.041 GB, free: 10.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.0008054/0.3202, allocations: 390.6 kB / 1.041 GB, free: 10.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.3203, allocations: 81.11 kB / 1.042 GB, free: 10.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.3207, allocations: 349.6 kB / 1.042 GB, free: 9.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3207, allocations: 33.7 kB / 1.042 GB, free: 9.887 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3209, allocations: 236.3 kB / 1.042 GB, free: 9.648 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.321, allocations: 106.5 kB / 1.042 GB, free: 9.543 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.321, allocations: 41.7 kB / 1.042 GB, free: 9.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3212, allocations: 358.7 kB / 1.043 GB, free: 9.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3214, allocations: 100.7 kB / 1.043 GB, free: 9.035 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.3217, allocations: 172.4 kB / 1.043 GB, free: 8.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.3221, allocations: 263.8 kB / 1.043 GB, free: 8.562 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3222, allocations: 0 / 1.043 GB, free: 8.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005939/0.3228, allocations: 358.3 kB / 1.043 GB, free: 8.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3228, allocations: 8 kB / 1.043 GB, free: 8.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3228, allocations: 4.188 kB / 1.043 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3228, allocations: 4 kB / 1.044 GB, free: 8.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3231, allocations: 67.84 kB / 1.044 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3231, allocations: 4 kB / 1.044 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.3233, allocations: 39.73 kB / 1.044 GB, free: 8.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3233, allocations: 12 kB / 1.044 GB, free: 8.07 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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.0002033/0.3235, allocations: 191.2 kB / 1.044 GB, free: 7.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.3236, allocations: 39.53 kB / 1.044 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-05/0.3237, allocations: 40.25 kB / 1.044 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3237, allocations: 4 kB / 1.044 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3237, allocations: 0 / 1.044 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3237, allocations: 0 / 1.044 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3248, allocations: 0.8191 MB / 1.045 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3248, allocations: 4 kB / 1.045 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.3251, allocations: 55.91 kB / 1.045 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3251, allocations: 0 / 1.045 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3251, allocations: 8 kB / 1.045 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3251, allocations: 0 / 1.045 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3251, allocations: 0 / 1.045 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.326, allocations: 0.5195 MB / 1.045 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3261, allocations: 136.6 kB / 1.045 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3261, allocations: 11.98 kB / 1.045 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3263, allocations: 24.05 kB / 1.045 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3264, allocations: 27.91 kB / 1.045 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3264, allocations: 7.984 kB / 1.045 GB, free: 6.094 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002311/0.3267, allocations: 239.2 kB / 1.046 GB, free: 5.859 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3267, allocations: 4 kB / 1.046 GB, free: 5.855 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003296/0.327, allocations: 91.62 kB / 1.046 GB, free: 5.766 MB / 0.795 GB 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.0001418/0.3272, allocations: 113 kB / 1.046 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3277, allocations: 271.6 kB / 1.046 GB, free: 5.383 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.3277, allocations: 0 / 1.046 GB, free: 5.383 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.328, allocations: 132.5 kB / 1.046 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3285, allocations: 81.81 kB / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3301, allocations: 1.046 MB / 1.047 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3304, allocations: 0.8113 MB / 1.048 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.3305, allocations: 35.44 kB / 1.048 GB, free: 3.227 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.3306, allocations: 0 / 1.048 GB, free: 3.227 MB / 0.795 GB Notification: Performance of Templates: time 0.006976/0.3375, allocations: 4.775 MB / 1.053 GB, free: 14.46 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches