Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 109.4 kB / 16.37 MB, free: 6.461 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.001581/0.001581, allocations: 191.5 kB / 17.31 MB, free: 5.824 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.5 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.0046/0.31, allocations: 3.02 MB / 0.9541 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3117, allocations: 0.9041 MB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.312, allocations: 15.94 kB / 0.955 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3122, allocations: 67.27 kB / 0.955 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.3124, allocations: 87.17 kB / 0.9551 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.313, allocations: 223.2 kB / 0.9553 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.3137, allocations: 495.1 kB / 0.9558 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.3142, allocations: 221.6 kB / 0.956 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3145, allocations: 175.2 kB / 0.9562 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3148, allocations: 187 kB / 0.9564 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-05/0.3149, allocations: 40 kB / 0.9564 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.315, allocations: 44 kB / 0.9564 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.3151, allocations: 91.64 kB / 0.9565 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3153, allocations: 206.9 kB / 0.9567 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3159, allocations: 0.5059 MB / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3159, allocations: 0 / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3159, allocations: 0 / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3159, allocations: 0 / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001214/0.3172, allocations: 0.709 MB / 0.9579 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3172, allocations: 12.03 kB / 0.9579 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3173, allocations: 52.36 kB / 0.958 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.3181, allocations: 396.3 kB / 0.9583 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.3182, allocations: 21.03 kB / 0.9584 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.3183, allocations: 28.38 kB / 0.9584 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.3189, allocations: 349.4 kB / 0.9587 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3189, allocations: 4 kB / 0.9587 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.319, allocations: 8 kB / 0.9587 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.319, allocations: 8 kB / 0.9587 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3195, allocations: 226.1 kB / 0.959 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3213, allocations: 1.174 MB / 0.9601 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.3219, allocations: 234.7 kB / 0.9603 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3221, allocations: 116.8 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3222, allocations: 4 kB / 0.9604 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3222, allocations: 38.92 kB / 0.9605 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.3222, allocations: 0 / 0.9605 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0006499/0.3229, allocations: 291.4 kB / 0.9608 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.323, allocations: 110.8 kB / 0.9609 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.3233, allocations: 341.6 kB / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3233, allocations: 33.7 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3235, allocations: 224.1 kB / 0.9614 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.3236, allocations: 74.98 kB / 0.9615 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.3237, allocations: 53.61 kB / 0.9616 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3238, allocations: 346.8 kB / 0.9619 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.324, allocations: 71.97 kB / 0.962 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.3242, allocations: 148.2 kB / 0.9621 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.3246, allocations: 213.8 kB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3246, allocations: 0 / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004763/0.3251, allocations: 283.4 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3251, allocations: 4 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3251, allocations: 0 / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3252, allocations: 4 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3254, allocations: 55.91 kB / 0.9626 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3254, allocations: 4 kB / 0.9626 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3256, allocations: 35.67 kB / 0.9627 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3256, allocations: 12 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001643/0.3258, allocations: 165.9 kB / 0.9628 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.3259, allocations: 31.62 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/0.326, allocations: 43.34 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.326, allocations: 4 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.326, allocations: 0 / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.326, allocations: 3.828 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.3264, allocations: 397.2 kB / 0.9633 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3264, allocations: 0 / 0.9633 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.3266, allocations: 43.92 kB / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3267, allocations: 3.984 kB / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3267, allocations: 8 kB / 0.9634 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3267, allocations: 0 / 0.9634 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3267, allocations: 3.938 kB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3274, allocations: 428.3 kB / 0.9638 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3275, allocations: 128.8 kB / 0.9639 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3275, allocations: 8 kB / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3277, allocations: 15.98 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.3278, allocations: 19.97 kB / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3278, allocations: 4 kB / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002144/0.328, allocations: 235.2 kB / 0.9642 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 0 / 0.9642 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000308/0.3283, allocations: 71.69 kB / 0.9642 GB, free: 10.22 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001072/0.3285, allocations: 111.2 kB / 0.9643 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.3289, allocations: 199.7 kB / 0.9645 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3289, allocations: 0 / 0.9645 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3291, allocations: 95.91 kB / 0.9646 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3296, allocations: 84.7 kB / 0.9647 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3308, allocations: 0.6897 MB / 0.9654 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3312, allocations: 0.7949 MB / 0.9661 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.3313, allocations: 46.94 kB / 0.9662 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.3314, allocations: 23.44 kB / 0.9662 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3314, allocations: 0 / 0.9662 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of Templates: time 0.006906/0.3383, allocations: 3.187 MB / 0.9693 GB, free: 4.965 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches