Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001388/0.001388, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001418/0.001418, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.837/2.837, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 71.89 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001797/1.015, allocations: 0.8152 MB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/1.016, allocations: 0.9159 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/1.016, allocations: 2.938 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/1.016, allocations: 7.875 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/1.016, allocations: 27.11 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/1.017, allocations: 46.2 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/1.017, allocations: 116.7 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/1.017, allocations: 19.66 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/1.017, allocations: 62.38 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/1.017, allocations: 46.03 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/1.017, allocations: 11.59 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/1.017, allocations: 15 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/1.017, allocations: 34 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/1.017, allocations: 38.31 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/1.017, allocations: 118.2 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.017, allocations: 4 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.017, allocations: 0 / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.017, allocations: 0 / 1.156 GB, free: 31.91 MB / 1.076 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.0005865/1.018, allocations: 367.6 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.018, allocations: 11.81 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/1.018, allocations: 30.2 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.019, allocations: 194.1 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.019, allocations: 9.594 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.019, allocations: 5.812 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/1.019, allocations: 119.4 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.019, allocations: 6.5 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.019, allocations: 0 / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.019, allocations: 10.39 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/1.019, allocations: 76.34 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/1.02, allocations: 441.1 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/1.02, allocations: 113.3 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/1.02, allocations: 49.83 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/1.02, allocations: 6.719 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.02, allocations: 33.34 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/1.02, allocations: 0 / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0005555/1.021, allocations: 168.7 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.021, allocations: 109.5 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/1.021, allocations: 143.2 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.021, allocations: 33.08 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/1.021, allocations: 105.2 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/1.021, allocations: 26.2 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/1.021, allocations: 33.97 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/1.021, allocations: 329 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/1.021, allocations: 45.11 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.021, allocations: 162 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.022, allocations: 84.34 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.022, allocations: 7.938 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003123/1.022, allocations: 139.5 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.022, allocations: 5.875 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.022, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.022, allocations: 2.062 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/1.022, allocations: 22.28 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.022, allocations: 6.844 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/1.022, allocations: 19.67 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.022, allocations: 5.938 kB / 1.159 GB, free: 29.66 MB / 1.076 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 7.364e-05/1.022, allocations: 122.5 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/1.022, allocations: 13.7 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/1.023, allocations: 96.41 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.023, allocations: 0 / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.023, allocations: 7.062 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.023, allocations: 0 / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/1.023, allocations: 144.8 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.023, allocations: 0 / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.023, allocations: 20.89 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.023, allocations: 0 / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.023, allocations: 2.781 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.023, allocations: 0 / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.023, allocations: 2.938 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.023, allocations: 380 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/1.023, allocations: 10.8 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.023, allocations: 6.781 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/1.024, allocations: 15.11 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.024, allocations: 22.41 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.024, allocations: 6.125 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.737e-05/1.024, allocations: 111.2 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 4 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003145/1.024, allocations: 18.61 kB / 1.16 GB, free: 28.89 MB / 1.076 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.364e-05/1.024, allocations: 99.88 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003368/1.024, allocations: 95.06 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.024, allocations: 2.844 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/1.025, allocations: 51.91 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/1.025, allocations: 19.16 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/1.025, allocations: 210 kB / 1.16 GB, free: 28.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/1.025, allocations: 86.39 kB / 1.16 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.906e-05/1.026, allocations: 15.86 kB / 1.16 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/1.026, allocations: 23.91 kB / 1.16 GB, free: 28.49 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.026, allocations: 3.938 kB / 1.16 GB, free: 28.49 MB / 1.076 GB Notification: Performance of Templates: time 0.004143/1.03, allocations: 1.399 MB / 1.162 GB, free: 28.33 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.019568777061068]