Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.4 MB / 303.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 187.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 94.28 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004305, allocations: 17.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2468, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.00116/0.248, allocations: 0.7024 MB / 0.9804 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2497, allocations: 1.281 MB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.2498, allocations: 4 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.2498, allocations: 7.875 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.25, allocations: 27.78 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.2506, allocations: 217.8 kB / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.2508, allocations: 259.4 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.251, allocations: 37.84 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2511, allocations: 99.67 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2512, allocations: 91.62 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.2513, allocations: 12 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-05/0.2513, allocations: 27.92 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.2514, allocations: 23.92 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.2514, allocations: 65.52 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.2516, allocations: 251.6 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2517, allocations: 3.938 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2517, allocations: 0 / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2517, allocations: 0 / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006924/0.2524, allocations: 0.5293 MB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2524, allocations: 12.02 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.2525, allocations: 46.55 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.2525, allocations: 23.72 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.2533, allocations: 323.9 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.2533, allocations: 12 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.2533, allocations: 16 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2536, allocations: 138.4 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2536, allocations: 0 / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2536, allocations: 7.938 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2537, allocations: 4 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.2539, allocations: 79.89 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2545, allocations: 0.6491 MB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.2549, allocations: 135.8 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.255, allocations: 66.69 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.255, allocations: 4 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.2553, allocations: 151.7 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.2553, allocations: 0 / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005131/0.2558, allocations: 209.8 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2559, allocations: 118.7 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.256, allocations: 190.5 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2561, allocations: 33.7 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2562, allocations: 124.5 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.2562, allocations: 39.61 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.2562, allocations: 4 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.2563, allocations: 330.8 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2565, allocations: 99.94 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2567, allocations: 160.5 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.257, allocations: 151.4 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.257, allocations: 0 / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005901/0.2576, allocations: 364.5 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.2576, allocations: 59.41 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2576, allocations: 7.938 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2576, allocations: 3.984 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.2577, allocations: 28.06 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2578, allocations: 11.97 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.2582, allocations: 83.81 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2582, allocations: 19.98 kB / 0.9868 GB, free: 19.93 MB / 0.6198 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 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.2583, allocations: 138.2 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2583, allocations: 23.7 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.2586, allocations: 102.6 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2586, allocations: 4 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2586, allocations: 0 / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2586, allocations: 0 / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2588, allocations: 237.5 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2588, allocations: 4 kB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.2589, allocations: 23.92 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2589, allocations: 0 / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2589, allocations: 4 kB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2589, allocations: 0 / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.259, allocations: 3.984 kB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.2593, allocations: 210.5 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2593, allocations: 88.92 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2594, allocations: 4 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2595, allocations: 15.98 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.2596, allocations: 35.94 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2596, allocations: 4 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.2597, allocations: 140.2 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2597, allocations: 0 / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002467/0.2599, allocations: 43.91 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005802/0.2605, allocations: 0.7638 MB / 0.9885 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.261, allocations: 322.6 kB / 0.9888 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.261, allocations: 0 / 0.9888 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2612, allocations: 71.84 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2616, allocations: 45.12 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2634, allocations: 1.189 MB / 0.9901 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2635, allocations: 0.7318 MB / 0.9908 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2636, allocations: 25.53 kB / 0.9909 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.2637, allocations: 63.34 kB / 0.9909 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2637, allocations: 4 kB / 0.9909 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2798, allocations: 4.639 MB / 0.9955 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.28, allocations: 209.5 kB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.136, allocations: 0 / 0.9957 GB, free: 10.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)