Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001162/0.001162, allocations: 112.2 kB / 16.37 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.78 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004176/0.2981, allocations: 3.178 MB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2996, allocations: 0.9544 MB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2998, allocations: 15.94 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3001, allocations: 71.25 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3002, allocations: 91.11 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.3008, allocations: 242.5 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.3012, allocations: 0.5544 MB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.3016, allocations: 247.5 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3018, allocations: 203.1 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.302, allocations: 210.9 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.3021, allocations: 52 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.3022, allocations: 52 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3022, allocations: 107.6 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3024, allocations: 246.7 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.3029, allocations: 0.5877 MB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3029, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3029, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3029, allocations: 0 / 1.025 GB, free: 3.008 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.001041/0.304, allocations: 0.7661 MB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.304, allocations: 8.031 kB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.3041, allocations: 60.28 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.3047, allocations: 416.6 kB / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3047, allocations: 33.38 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.3048, allocations: 36.38 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.3054, allocations: 401.9 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3054, allocations: 3.938 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.3054, allocations: 16 kB / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3055, allocations: 16 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.306, allocations: 259.8 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.3075, allocations: 1.297 MB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.3082, allocations: 318.4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.3084, allocations: 148 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.3085, allocations: 4 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.3088, allocations: 174.1 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.3088, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0007369/0.3095, allocations: 382.6 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3096, allocations: 85.05 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3099, allocations: 353.6 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.31, allocations: 37.7 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3101, allocations: 229 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.3102, allocations: 102.5 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3103, allocations: 77.97 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3104, allocations: 350.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3106, allocations: 100.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3109, allocations: 164.6 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.3113, allocations: 263.8 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3113, allocations: 0 / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005669/0.3119, allocations: 354.5 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3119, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.312, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.312, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.3122, allocations: 67.89 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3123, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.3125, allocations: 35.67 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3125, allocations: 15.94 kB / 1.032 GB, free: 12.18 MB / 0.8106 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.0001736/0.3127, allocations: 187 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.3127, allocations: 35.53 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.3128, allocations: 44.25 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3128, allocations: 4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3128, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3128, allocations: 4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.3138, allocations: 0.8081 MB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3139, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3141, allocations: 47.97 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3141, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3141, allocations: 11.94 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3142, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3142, allocations: 3.938 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/0.3149, allocations: 0.5201 MB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3151, allocations: 132.7 kB / 1.033 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.3151, allocations: 11.98 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3153, allocations: 15.98 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3154, allocations: 23.97 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3154, allocations: 8 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002217/0.3157, allocations: 243.2 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3157, allocations: 4.062 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003378/0.316, allocations: 95.53 kB / 1.034 GB, free: 9.898 MB / 0.8106 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.0001231/0.3161, allocations: 112.7 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.3167, allocations: 264 kB / 1.034 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3167, allocations: 384 / 1.034 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3169, allocations: 143.8 kB / 1.034 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.3174, allocations: 81.23 kB / 1.034 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3188, allocations: 0.7941 MB / 1.035 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3191, allocations: 0.8152 MB / 1.036 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.3193, allocations: 43.25 kB / 1.036 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.3193, allocations: 31.44 kB / 1.036 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3193, allocations: 0 / 1.036 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.007162/0.3265, allocations: 3.659 MB / 1.04 GB, free: 3.953 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches