Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001461/0.001461, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.001017/0.001017, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9508/0.9508, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.886/1.886, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.7872 GB, free: 11.31 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.804e-05, allocations: 2.312 kB / 0.7872 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001703/0.001741, allocations: 0.8407 MB / 0.788 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.002676, allocations: 0.9413 MB / 0.7889 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.002727, allocations: 5.375 kB / 0.7889 GB, free: 9.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.002766, allocations: 11.81 kB / 0.7889 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.002866, allocations: 16.36 kB / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.003114, allocations: 44.66 kB / 0.789 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003243, allocations: 115.6 kB / 0.7891 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003351, allocations: 22.2 kB / 0.7891 GB, free: 9.324 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.003525, allocations: 75.86 kB / 0.7892 GB, free: 9.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.003595, allocations: 36.64 kB / 0.7892 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003618, allocations: 15.98 kB / 0.7892 GB, free: 9.199 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.003662, allocations: 14.5 kB / 0.7892 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.003684, allocations: 27.91 kB / 0.7893 GB, free: 9.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.003719, allocations: 35.84 kB / 0.7893 GB, free: 9.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.003862, allocations: 91.64 kB / 0.7894 GB, free: 9.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003864, allocations: 0 / 0.7894 GB, free: 9.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003865, allocations: 0 / 0.7894 GB, free: 9.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003869, allocations: 0 / 0.7894 GB, free: 9.035 MB / 0.698 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.0004767/0.004346, allocations: 461.4 kB / 0.7898 GB, free: 8.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.004387, allocations: 8.031 kB / 0.7898 GB, free: 8.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.004577, allocations: 33.42 kB / 0.7899 GB, free: 8.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.004852, allocations: 189 kB / 0.7901 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.004873, allocations: 8.375 kB / 0.7901 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.004888, allocations: 4.375 kB / 0.7901 GB, free: 8.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.005077, allocations: 131.1 kB / 0.7902 GB, free: 8.145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005087, allocations: 192 / 0.7902 GB, free: 8.145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.0051, allocations: 4.359 kB / 0.7902 GB, free: 8.141 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.005113, allocations: 9.938 kB / 0.7902 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.005177, allocations: 27.91 kB / 0.7902 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.005597, allocations: 0.5639 MB / 0.7908 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.005716, allocations: 110.6 kB / 0.7909 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.00576, allocations: 43.09 kB / 0.7909 GB, free: 7.297 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.005785, allocations: 0 / 0.7909 GB, free: 7.297 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.005807, allocations: 41.86 kB / 0.791 GB, free: 7.246 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.005808, allocations: 1.938 kB / 0.791 GB, free: 7.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000228/0.006036, allocations: 93.5 kB / 0.7911 GB, free: 7.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.006078, allocations: 110.8 kB / 0.7912 GB, free: 7.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.006184, allocations: 204.4 kB / 0.7914 GB, free: 6.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.006203, allocations: 33.7 kB / 0.7914 GB, free: 6.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.006265, allocations: 151 kB / 0.7915 GB, free: 6.605 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.006291, allocations: 19.86 kB / 0.7916 GB, free: 6.586 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.006333, allocations: 35.36 kB / 0.7916 GB, free: 6.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.006445, allocations: 0.4923 MB / 0.7921 GB, free: 6.039 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.006478, allocations: 8 kB / 0.7921 GB, free: 6.031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.006558, allocations: 155.7 kB / 0.7922 GB, free: 5.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.006622, allocations: 55.72 kB / 0.7923 GB, free: 5.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.006625, allocations: 4 kB / 0.7923 GB, free: 5.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001161/0.006741, allocations: 97.98 kB / 0.7924 GB, free: 5.664 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006755, allocations: 5.656 kB / 0.7924 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00676, allocations: 0 / 0.7924 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.006775, allocations: 4 kB / 0.7924 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.006865, allocations: 19.92 kB / 0.7924 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.006872, allocations: 0.5 kB / 0.7924 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.006919, allocations: 20.84 kB / 0.7924 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.006926, allocations: 0 / 0.7924 GB, free: 5.617 MB / 0.698 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.337e-05/0.00701, allocations: 161.4 kB / 0.7926 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.007065, allocations: 24.98 kB / 0.7926 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.007187, allocations: 69.95 kB / 0.7927 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00719, allocations: 0 / 0.7927 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007194, allocations: 0.9062 kB / 0.7927 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007199, allocations: 4 kB / 0.7927 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.007381, allocations: 149.4 kB / 0.7928 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.007383, allocations: 3.938 kB / 0.7928 GB, free: 5.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.007428, allocations: 17.17 kB / 0.7928 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.007431, allocations: 3.938 kB / 0.7928 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.007441, allocations: 0 / 0.7928 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007443, allocations: 4.844 kB / 0.7928 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007444, allocations: 0 / 0.7928 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.007648, allocations: 471.5 kB / 0.7933 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.00766, allocations: 15.83 kB / 0.7933 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.007678, allocations: 0 / 0.7933 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.007765, allocations: 13.14 kB / 0.7933 GB, free: 4.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.007827, allocations: 23.95 kB / 0.7933 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.007832, allocations: 4 kB / 0.7934 GB, free: 4.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.007891, allocations: 155.1 kB / 0.7935 GB, free: 4.453 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.007891, allocations: 0 / 0.7935 GB, free: 4.453 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002125/0.008104, allocations: 16 kB / 0.7935 GB, free: 4.438 MB / 0.698 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 9.478e-05/0.008198, allocations: 109.7 kB / 0.7936 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.00833, allocations: 51.59 kB / 0.7937 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008331, allocations: 0 / 0.7937 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.008377, allocations: 31.67 kB / 0.7937 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.008648, allocations: 19.92 kB / 0.7937 GB, free: 4.211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.008976, allocations: 216 kB / 0.7939 GB, free: 3.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.009025, allocations: 63.34 kB / 0.794 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.009076, allocations: 19.52 kB / 0.794 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.009127, allocations: 24.48 kB / 0.794 GB, free: 3.84 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.009128, allocations: 0 / 0.794 GB, free: 3.84 MB / 0.698 GB Notification: Performance of Templates: time 0.003097/0.01222, allocations: 1.426 MB / 0.7954 GB, free: 2.445 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.276703319977969]