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.001468/0.001468, allocations: 78.09 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.001642/0.001642, 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002431/0.002431, allocations: 75.89 kB / 0.9516 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 169.9 MB / 1.117 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002798/1.052, allocations: 0.8282 MB / 1.118 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001635/1.054, allocations: 0.919 MB / 1.119 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/1.054, allocations: 5.031 kB / 1.119 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.67e-05/1.054, allocations: 9.188 kB / 1.119 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/1.054, allocations: 15.41 kB / 1.119 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/1.054, allocations: 47.94 kB / 1.119 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/1.055, allocations: 111.7 kB / 1.119 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/1.055, allocations: 23.05 kB / 1.119 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/1.055, allocations: 58.23 kB / 1.119 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/1.055, allocations: 55.8 kB / 1.119 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/1.055, allocations: 9.156 kB / 1.12 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/1.055, allocations: 11.62 kB / 1.12 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/1.055, allocations: 24.39 kB / 1.12 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/1.055, allocations: 39.98 kB / 1.12 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/1.056, allocations: 128.1 kB / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.056, allocations: 1.031 kB / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.965e-06/1.056, allocations: 0 / 1.12 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.056, allocations: 0.7031 kB / 1.12 GB, free: 1.633 MB / 0.9981 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.0008686/1.057, allocations: 374.4 kB / 1.12 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.057, allocations: 10.31 kB / 1.12 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/1.057, allocations: 29.59 kB / 1.12 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/1.058, allocations: 195.8 kB / 1.12 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.058, allocations: 3.781 kB / 1.12 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/1.058, allocations: 10 kB / 1.12 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/1.058, allocations: 119.9 kB / 1.12 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.058, allocations: 3.938 kB / 1.12 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.058, allocations: 1.359 kB / 1.12 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.058, allocations: 5.656 kB / 1.12 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/1.059, allocations: 76.34 kB / 1.12 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/1.059, allocations: 438.1 kB / 1.121 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/1.06, allocations: 105.9 kB / 1.121 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/1.06, allocations: 57.42 kB / 1.121 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/1.06, allocations: 1.859 kB / 1.121 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.06, allocations: 46.48 kB / 1.121 GB, free: 492 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/1.06, allocations: 0 / 1.121 GB, free: 492 kB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0008322/1.061, allocations: 158.8 kB / 1.121 GB, free: 432 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.061, allocations: 109 kB / 1.121 GB, free: 300 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/1.061, allocations: 146.2 kB / 1.122 GB, free: 184 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/1.061, allocations: 28.27 kB / 1.122 GB, free: 152 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/1.061, allocations: 105.5 kB / 1.122 GB, free: 48 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/1.061, allocations: 34.23 kB / 1.122 GB, free: 20 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/1.061, allocations: 25.75 kB / 1.122 GB, free: 0 / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002497/1.061, allocations: 333 kB / 1.122 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/1.062, allocations: 44.56 kB / 1.122 GB, free: 15.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.062, allocations: 163.2 kB / 1.122 GB, free: 15.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/1.062, allocations: 94.3 kB / 1.122 GB, free: 15.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.062, allocations: 0 / 1.122 GB, free: 15.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005384/1.063, allocations: 136.8 kB / 1.122 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.063, allocations: 10.91 kB / 1.122 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.063, allocations: 0 / 1.122 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.063, allocations: 1.594 kB / 1.122 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/1.063, allocations: 27.92 kB / 1.122 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.063, allocations: 1.188 kB / 1.122 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/1.063, allocations: 19.59 kB / 1.122 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1.063, allocations: 3.625 kB / 1.122 GB, free: 15.39 MB / 1.014 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 0.0001517/1.063, allocations: 123.6 kB / 1.123 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.064, allocations: 13.84 kB / 1.123 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/1.064, allocations: 89.91 kB / 1.123 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.064, allocations: 1.156 kB / 1.123 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.064, allocations: 1.094 kB / 1.123 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.064, allocations: 1.719 kB / 1.123 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/1.064, allocations: 143.6 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.064, allocations: 1.031 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.065, allocations: 18.02 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.065, allocations: 5.188 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/1.065, allocations: 3.672 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.065, allocations: 2.047 kB / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.065, allocations: 0 / 1.123 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/1.065, allocations: 375 kB / 1.123 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/1.065, allocations: 8.469 kB / 1.123 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/1.065, allocations: 6.859 kB / 1.123 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.066, allocations: 17.94 kB / 1.123 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.066, allocations: 23.7 kB / 1.123 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.066, allocations: 4.031 kB / 1.123 GB, free: 14.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001251/1.066, allocations: 111.6 kB / 1.123 GB, free: 14.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.066, allocations: 7.875 kB / 1.123 GB, free: 14.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005852/1.066, allocations: 17.31 kB / 1.123 GB, free: 14.63 MB / 1.014 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.0002001/1.067, allocations: 105.5 kB / 1.124 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005861/1.067, allocations: 95.91 kB / 1.124 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.067, allocations: 3.938 kB / 1.124 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.068, allocations: 47.17 kB / 1.124 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/1.068, allocations: 20.78 kB / 1.124 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/1.069, allocations: 203.7 kB / 1.124 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/1.069, allocations: 87.83 kB / 1.124 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001209/1.069, allocations: 20.75 kB / 1.124 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/1.069, allocations: 19.06 kB / 1.124 GB, free: 14.22 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.069, allocations: 0 / 1.124 GB, free: 14.22 MB / 1.014 GB Notification: Performance of Templates: time 0.006715/1.076, allocations: 1.409 MB / 1.125 GB, free: 14.07 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.019988039974123]