Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9325/0.9325, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.175/2.175, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.475e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001551/0.001576, allocations: 0.8584 MB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.00269, allocations: 0.9341 MB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.002769, allocations: 0.75 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.002822, allocations: 11.86 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.002971, allocations: 29.2 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.003319, allocations: 43.88 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.00348, allocations: 117.2 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.003611, allocations: 21.28 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.00385, allocations: 87.73 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.003923, allocations: 33.03 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.003944, allocations: 8 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.00399, allocations: 4 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.004005, allocations: 17.02 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.004038, allocations: 31.91 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004191, allocations: 67.67 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004194, allocations: 4.594 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004194, allocations: 0 / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.0042, allocations: 0.5 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000489/0.004689, allocations: 440.8 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.004726, allocations: 13.28 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.004882, allocations: 24.83 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005061, allocations: 163.4 kB / 0.8811 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.00508, allocations: 4.375 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.005094, allocations: 9.406 kB / 0.8811 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.005265, allocations: 108.2 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.005272, allocations: 1.312 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.005285, allocations: 4.375 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.005293, allocations: 384 / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.005348, allocations: 32.92 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.005787, allocations: 0.5571 MB / 0.8818 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.005917, allocations: 109.2 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.005957, allocations: 42.22 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.00598, allocations: 7.938 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.006005, allocations: 33.39 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.006006, allocations: 0 / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002366/0.006243, allocations: 93.5 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.006289, allocations: 108.3 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.006396, allocations: 197.9 kB / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.006416, allocations: 33.7 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.006475, allocations: 151.4 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006505, allocations: 27.78 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.006539, allocations: 29.03 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.006667, allocations: 0.4962 MB / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.006698, allocations: 11.98 kB / 0.8831 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.006738, allocations: 46.98 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.006806, allocations: 60.12 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.006809, allocations: 4 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001066/0.006916, allocations: 95.62 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006929, allocations: 7.984 kB / 0.8833 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006935, allocations: 0 / 0.8833 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.006949, allocations: 4 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.007022, allocations: 16 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007028, allocations: 4.25 kB / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.007063, allocations: 7.984 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.007069, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.882e-05/0.007158, allocations: 160.6 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.007199, allocations: 19.89 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.0073, allocations: 65.95 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007302, allocations: 0 / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007306, allocations: 0 / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.00731, allocations: 4 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.007481, allocations: 152.5 kB / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007482, allocations: 0 / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.007511, allocations: 11.98 kB / 0.8837 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.007514, allocations: 3.938 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.007525, allocations: 8 kB / 0.8837 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007526, allocations: 0 / 0.8837 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007528, allocations: 0 / 0.8837 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.007742, allocations: 466.2 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007753, allocations: 11.91 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.007774, allocations: 7.938 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.007848, allocations: 11.98 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.007909, allocations: 23.95 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.007913, allocations: 0 / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.007971, allocations: 157.2 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.007972, allocations: 0 / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002043/0.008176, allocations: 12 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 7.769e-05/0.008254, allocations: 95.25 kB / 0.8844 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.008388, allocations: 55.59 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008389, allocations: 7.938 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.008432, allocations: 35.61 kB / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.0087, allocations: 11.94 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.009046, allocations: 222 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.009101, allocations: 63.34 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.477e-05/0.009155, allocations: 17.19 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.009206, allocations: 24.5 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.009206, allocations: 0 / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.003022/0.01223, allocations: 1.227 MB / 0.8861 GB, free: 13.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.557839998975396]