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.001678/0.001678, allocations: 119.6 kB / 16.37 MB, free: 6.016 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.001915/0.001914, allocations: 193 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.373/2.373, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002463, allocations: 60.61 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2944, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004599/0.2991, allocations: 3.176 MB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3007, allocations: 0.9621 MB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.301, allocations: 11.94 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3012, allocations: 71.25 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3015, allocations: 95.09 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.302, allocations: 246 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.3025, allocations: 0.5543 MB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3029, allocations: 247.5 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3031, allocations: 203.1 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.3033, allocations: 202.9 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.3034, allocations: 52 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.3035, allocations: 56 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.3036, allocations: 119.5 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3038, allocations: 234.7 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.3042, allocations: 0.5877 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3043, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3043, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3043, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 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.001034/0.3053, allocations: 0.7622 MB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.3054, allocations: 8.031 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.3054, allocations: 60.28 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.306, allocations: 420.6 kB / 1.035 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3061, allocations: 29.38 kB / 1.035 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.3061, allocations: 36.38 kB / 1.035 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.3067, allocations: 397.9 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3068, allocations: 7.984 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.3068, allocations: 16 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3068, allocations: 12 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.3074, allocations: 263.8 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.3089, allocations: 1.305 MB / 1.037 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.3096, allocations: 310.5 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.3098, allocations: 144.2 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3099, allocations: 7.984 kB / 1.037 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.3102, allocations: 174.1 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.3102, allocations: 0 / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0007438/0.311, allocations: 382.6 kB / 1.038 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.311, allocations: 85.11 kB / 1.038 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.3114, allocations: 349.6 kB / 1.038 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3114, allocations: 33.7 kB / 1.038 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3116, allocations: 240.9 kB / 1.038 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.3116, allocations: 98.56 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3117, allocations: 73.97 kB / 1.038 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3119, allocations: 350.8 kB / 1.039 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.3121, allocations: 100.7 kB / 1.039 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3124, allocations: 172.4 kB / 1.039 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.3128, allocations: 259.8 kB / 1.039 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3128, allocations: 3.938 kB / 1.039 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000581/0.3134, allocations: 362.4 kB / 1.04 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3134, allocations: 4 kB / 1.04 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3134, allocations: 4 kB / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3135, allocations: 4 kB / 1.04 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3137, allocations: 59.91 kB / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3137, allocations: 11.92 kB / 1.04 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3139, allocations: 39.86 kB / 1.04 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.314, allocations: 12 kB / 1.04 GB, free: 4.457 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.0001722/0.3141, allocations: 186.2 kB / 1.04 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3142, allocations: 35.53 kB / 1.04 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.296e-05/0.3143, allocations: 48.23 kB / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3143, allocations: 0 / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3143, allocations: 4 kB / 1.04 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3143, allocations: 4 kB / 1.04 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3154, allocations: 0.812 MB / 1.041 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3154, allocations: 0 / 1.041 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.3156, allocations: 47.91 kB / 1.041 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3156, allocations: 0 / 1.041 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3157, allocations: 8 kB / 1.041 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3157, allocations: 0 / 1.041 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3157, allocations: 0 / 1.041 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.3165, allocations: 0.5207 MB / 1.041 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3166, allocations: 144.6 kB / 1.041 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3167, allocations: 4 kB / 1.041 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3169, allocations: 15.98 kB / 1.041 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.3169, allocations: 23.97 kB / 1.041 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.317, allocations: 16.05 kB / 1.042 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002218/0.3172, allocations: 243.2 kB / 1.042 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3172, allocations: 3.938 kB / 1.042 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003274/0.3175, allocations: 87.62 kB / 1.042 GB, free: 2.176 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.000107/0.3176, allocations: 111.2 kB / 1.042 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.3182, allocations: 264.1 kB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3182, allocations: 0 / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.3184, allocations: 135.8 kB / 1.042 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.3189, allocations: 92.59 kB / 1.042 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3203, allocations: 0.7938 MB / 1.043 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3206, allocations: 0.8152 MB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.3208, allocations: 39.27 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.3209, allocations: 31.44 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3209, allocations: 4 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.007273/0.3282, allocations: 3.643 MB / 1.048 GB, free: 12.23 MB / 0.8262 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 -s gbode -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