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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.03/3.03, allocations: 495.8 MB / 0.783 GB, free: 12.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 68.08 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333/1.335, allocations: 173.6 MB / 1.307 GB, free: 33.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002111/1.337, allocations: 0.8487 MB / 1.308 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009732/1.338, allocations: 0.8902 MB / 1.309 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/1.338, allocations: 0 / 1.309 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/1.338, allocations: 7.875 kB / 1.309 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/1.338, allocations: 29.59 kB / 1.309 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/1.339, allocations: 38.19 kB / 1.309 GB, free: 32.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/1.339, allocations: 114.2 kB / 1.309 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.339, allocations: 17.84 kB / 1.309 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/1.339, allocations: 61.73 kB / 1.309 GB, free: 32.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/1.339, allocations: 52.41 kB / 1.309 GB, free: 32.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/1.339, allocations: 12.56 kB / 1.309 GB, free: 32.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/1.339, allocations: 9.156 kB / 1.309 GB, free: 32.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/1.339, allocations: 25.88 kB / 1.309 GB, free: 32.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/1.339, allocations: 48 kB / 1.309 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/1.339, allocations: 121.8 kB / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.339, allocations: 2.844 kB / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.339, allocations: 0 / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.339, allocations: 0 / 1.309 GB, free: 32.5 MB / 1.061 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.0006271/1.34, allocations: 373 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.34, allocations: 11.06 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/1.34, allocations: 14.62 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/1.34, allocations: 200.9 kB / 1.31 GB, free: 32.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.341, allocations: 7.25 kB / 1.31 GB, free: 32.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.341, allocations: 10 kB / 1.31 GB, free: 32.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/1.341, allocations: 119.4 kB / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.341, allocations: 2.938 kB / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.341, allocations: 4 kB / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.341, allocations: 4 kB / 1.31 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/1.341, allocations: 71.89 kB / 1.31 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/1.342, allocations: 484.4 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/1.342, allocations: 104.4 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.342, allocations: 56.02 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.342, allocations: 2.875 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/1.342, allocations: 38.5 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.342, allocations: 0 / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005697/1.343, allocations: 159.3 kB / 1.311 GB, free: 31.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.343, allocations: 102.8 kB / 1.311 GB, free: 31.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/1.343, allocations: 155.6 kB / 1.311 GB, free: 31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.343, allocations: 28.39 kB / 1.311 GB, free: 30.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/1.343, allocations: 113.6 kB / 1.311 GB, free: 30.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/1.343, allocations: 22.5 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/1.343, allocations: 26.66 kB / 1.311 GB, free: 30.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/1.343, allocations: 328.9 kB / 1.311 GB, free: 30.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.343, allocations: 44.64 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/1.343, allocations: 82.7 kB / 1.311 GB, free: 30.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/1.343, allocations: 93.14 kB / 1.312 GB, free: 30.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.343, allocations: 0 / 1.312 GB, free: 30.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003295/1.344, allocations: 145.8 kB / 1.312 GB, free: 30.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.344, allocations: 12.16 kB / 1.312 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.344, allocations: 3.938 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.344, allocations: 2.938 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.344, allocations: 22.16 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.344, allocations: 2.656 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/1.344, allocations: 16.36 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/1.344, allocations: 2.938 kB / 1.312 GB, free: 30.3 MB / 1.061 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.486e-05/1.344, allocations: 131.4 kB / 1.312 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/1.344, allocations: 13.78 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/1.345, allocations: 85.08 kB / 1.312 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.345, allocations: 2.938 kB / 1.312 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.345, allocations: 3.328 kB / 1.312 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.345, allocations: 2.938 kB / 1.312 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/1.345, allocations: 173 kB / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.345, allocations: 0 / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.345, allocations: 22.16 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.345, allocations: 3 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.345, allocations: 4.062 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.345, allocations: 2.75 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.345, allocations: 3.938 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/1.345, allocations: 375.2 kB / 1.313 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/1.345, allocations: 17.53 kB / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/1.345, allocations: 4 kB / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.345, allocations: 18.95 kB / 1.313 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.346, allocations: 22.5 kB / 1.313 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/1.346, allocations: 14.25 kB / 1.313 GB, free: 29.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.341e-05/1.346, allocations: 111.3 kB / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.346, allocations: 0 / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003087/1.346, allocations: 17.44 kB / 1.313 GB, free: 29.49 MB / 1.061 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.0001207/1.346, allocations: 102.6 kB / 1.313 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003781/1.346, allocations: 98.41 kB / 1.313 GB, free: 29.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.346, allocations: 3 kB / 1.313 GB, free: 29.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/1.347, allocations: 46.25 kB / 1.313 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/1.347, allocations: 16.89 kB / 1.313 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/1.347, allocations: 205.1 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/1.348, allocations: 0.6998 MB / 1.314 GB, free: 28.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.41e-05/1.348, allocations: 16.17 kB / 1.314 GB, free: 28.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/1.348, allocations: 23.39 kB / 1.314 GB, free: 28.46 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.348, allocations: 0 / 1.314 GB, free: 28.46 MB / 1.061 GB Notification: Performance of Templates: time 0.004095/1.352, allocations: 1.41 MB / 1.315 GB, free: 28.33 MB / 1.061 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 -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/jenkins/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: 10.143086373806]