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.001004/0.001004, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009796/0.0009796, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9992/0.9992, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.836/1.836, allocations: 359 MB / 0.6055 GB, free: 11 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.525e-06/2.525e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.05e-05, allocations: 5.125 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.005196/0.005226, allocations: 0.8385 MB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.006314, allocations: 0.941 MB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.006377, allocations: 4 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.006412, allocations: 9.344 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.006513, allocations: 15.8 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.006766, allocations: 53.34 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.006892, allocations: 111.7 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.007008, allocations: 25.28 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.007241, allocations: 75.19 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.007319, allocations: 47.88 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.007341, allocations: 8 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.007388, allocations: 12 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.00741, allocations: 23.91 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.007446, allocations: 31.91 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.007609, allocations: 95.64 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007614, allocations: 0 / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.462e-06/0.007615, allocations: 0 / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.007621, allocations: 4.781 kB / 0.7894 GB, free: 10.45 MB / 0.7448 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.0005671/0.008189, allocations: 452.7 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.008237, allocations: 8.75 kB / 0.7898 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.008473, allocations: 46.14 kB / 0.7899 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.008775, allocations: 187.5 kB / 0.7901 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.008801, allocations: 8.984 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.008817, allocations: 13.44 kB / 0.7901 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.009024, allocations: 114 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.009032, allocations: 0.9375 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.009053, allocations: 4.375 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.009063, allocations: 4.844 kB / 0.7902 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.009128, allocations: 27.92 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.00964, allocations: 0.569 MB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.009783, allocations: 113.8 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.00983, allocations: 36.47 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.009853, allocations: 0 / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.00988, allocations: 45.38 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.009881, allocations: 0 / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002531/0.01013, allocations: 94.98 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.01018, allocations: 106.8 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.01029, allocations: 200.6 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01032, allocations: 33.7 kB / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.01038, allocations: 147.1 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.01041, allocations: 31.73 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.01046, allocations: 31.38 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01059, allocations: 0.4923 MB / 0.7921 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.01063, allocations: 15.98 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/0.01072, allocations: 148.8 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.01079, allocations: 62.92 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0108, allocations: 0 / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001251/0.01092, allocations: 93.81 kB / 0.7924 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01094, allocations: 6.062 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01094, allocations: 4.531 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.01097, allocations: 0 / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.01106, allocations: 25.33 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01107, allocations: 0 / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.01112, allocations: 11.95 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01112, allocations: 0.625 kB / 0.7924 GB, free: 7.039 MB / 0.7448 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 9.894e-05/0.01122, allocations: 170.5 kB / 0.7926 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.01127, allocations: 15.89 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.01141, allocations: 65.95 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01141, allocations: 0 / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.01142, allocations: 0.5312 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01142, allocations: 4 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01163, allocations: 149.1 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01163, allocations: 1.031 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.01168, allocations: 15.98 kB / 0.7928 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.01169, allocations: 4.844 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.0117, allocations: 8 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01171, allocations: 0 / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01171, allocations: 4.828 kB / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.01196, allocations: 470.2 kB / 0.7933 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.01198, allocations: 18.09 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.012, allocations: 4 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.0121, allocations: 8 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.01217, allocations: 23.95 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01218, allocations: 7.984 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.01225, allocations: 150.4 kB / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01225, allocations: 0 / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002152/0.01246, allocations: 20 kB / 0.7935 GB, free: 5.855 MB / 0.7448 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 0.0001235/0.01259, allocations: 96.34 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.01274, allocations: 64.66 kB / 0.7937 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01274, allocations: 0 / 0.7937 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.01279, allocations: 28.77 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01308, allocations: 24.09 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.01346, allocations: 219.5 kB / 0.7939 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.01352, allocations: 63.34 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.621e-05/0.01357, allocations: 20.55 kB / 0.794 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.01363, allocations: 20.5 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of SimCode: time 1.153e-06/0.01363, allocations: 0 / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.004352/0.01798, allocations: 1.437 MB / 0.7954 GB, free: 3.855 MB / 0.7448 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.331946101039648]