Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.668/2.668, allocations: 287.5 MB / 302.4 MB, free: 8.145 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.001419/0.001419, allocations: 186.7 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009284/0.0009283, allocations: 101 kB / 0.743 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005139, allocations: 15.11 kB / 0.8659 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2326, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001323/0.234, allocations: 0.7061 MB / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.236, allocations: 1.281 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2362, allocations: 4 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.2362, allocations: 3.938 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2364, allocations: 35.72 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.2373, allocations: 223.6 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.2377, allocations: 263.3 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2378, allocations: 37.84 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.238, allocations: 87.75 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2382, allocations: 95.56 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.2382, allocations: 16 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.2384, allocations: 23.98 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.2384, allocations: 35.83 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.2385, allocations: 57.58 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.2388, allocations: 247.6 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2388, allocations: 0 / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2388, allocations: 4 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2389, allocations: 0 / 0.9815 GB, free: 25.16 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.0009713/0.2398, allocations: 0.5331 MB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2399, allocations: 12.02 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.24, allocations: 42.55 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.2401, allocations: 23.72 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2412, allocations: 326.3 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.2413, allocations: 15.98 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.2414, allocations: 16 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.2417, allocations: 134.2 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2418, allocations: 11.89 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2418, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2418, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.2422, allocations: 79.94 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.2431, allocations: 0.6413 MB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.2437, allocations: 143.8 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2439, allocations: 62.7 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.244, allocations: 8.062 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.2444, allocations: 149.8 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.2444, allocations: 0 / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0008727/0.2453, allocations: 209.3 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2454, allocations: 110.8 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2456, allocations: 190.7 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.2456, allocations: 37.69 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.2457, allocations: 120.5 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.2458, allocations: 35.55 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2459, allocations: 4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.2459, allocations: 330.8 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.2463, allocations: 99.94 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.2467, allocations: 167.1 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.2471, allocations: 151.4 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2472, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001052/0.2482, allocations: 360.5 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.2483, allocations: 63.39 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2483, allocations: 4 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2483, allocations: 0 / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2485, allocations: 24.67 kB / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2485, allocations: 7.875 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.2493, allocations: 95.92 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.2493, allocations: 19.95 kB / 0.9856 GB, free: 20.62 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.0001846/0.2495, allocations: 135.1 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2496, allocations: 19.72 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.25, allocations: 106.6 kB / 0.9858 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.25, allocations: 8 kB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.25, allocations: 0 / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2501, allocations: 0 / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2503, allocations: 241.5 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2503, allocations: 0 / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2505, allocations: 19.98 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.2505, allocations: 0 / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2505, allocations: 11.98 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2505, allocations: 0 / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2505, allocations: 0 / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.2511, allocations: 210.5 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2511, allocations: 89.2 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.2512, allocations: 4 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2514, allocations: 15.98 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2515, allocations: 35.92 kB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2516, allocations: 4 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001306/0.2517, allocations: 140.2 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2517, allocations: 4 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004306/0.2521, allocations: 43.91 kB / 0.9866 GB, free: 19.45 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.000857/0.253, allocations: 0.7558 MB / 0.9873 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008807/0.2539, allocations: 322.6 kB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2539, allocations: 4 kB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.2542, allocations: 67.91 kB / 0.9877 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.2547, allocations: 40.22 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.2577, allocations: 1.201 MB / 0.9889 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2579, allocations: 0.7319 MB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.2581, allocations: 21.55 kB / 0.9897 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2583, allocations: 63.34 kB / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2583, allocations: 0 / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.2854, allocations: 4.635 MB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.2858, allocations: 194.8 kB / 0.9944 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.093, allocations: 1.828 kB / 0.9944 GB, free: 11.4 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)