Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001801/0.001801, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.002/0.002, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.91 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 160.7 MB / 1.214 GB, free: 0.8242 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002294/0.361, allocations: 0.8525 MB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3622, allocations: 0.8858 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.3623, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.3623, allocations: 15.8 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3624, allocations: 19.8 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3627, allocations: 31.95 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3628, allocations: 123.6 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.363, allocations: 13.11 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3631, allocations: 59.78 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3632, allocations: 55.75 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3632, allocations: 8 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.3633, allocations: 8 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.3633, allocations: 27.91 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.3634, allocations: 51.72 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.3636, allocations: 115.4 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3636, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3636, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3636, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 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.0008353/0.3644, allocations: 450.8 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3644, allocations: 12.03 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3645, allocations: 16.78 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.3651, allocations: 256.3 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3651, allocations: 4.375 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3651, allocations: 8.375 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3654, allocations: 120.7 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3654, allocations: 7.938 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3654, allocations: 0 / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3654, allocations: 7.938 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.3657, allocations: 83.84 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.3665, allocations: 0.4893 MB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3667, allocations: 115.8 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3669, allocations: 54.55 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3669, allocations: 4 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.367, allocations: 38.55 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.367, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006315/0.3676, allocations: 157.5 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3677, allocations: 106.8 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3679, allocations: 151.7 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.3679, allocations: 33.7 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.368, allocations: 104.3 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.368, allocations: 32.58 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.3681, allocations: 29.97 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3682, allocations: 326.8 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3684, allocations: 43.95 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.3686, allocations: 85.11 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3689, allocations: 86.45 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3689, allocations: 4 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003845/0.3693, allocations: 137.5 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3693, allocations: 10.03 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3693, allocations: 11.94 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3693, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3695, allocations: 19.97 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3695, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3696, allocations: 11.98 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3696, allocations: 8 kB / 1.219 GB, free: 11.26 MB / 0.9669 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.0001162/0.3697, allocations: 129.7 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.3698, allocations: 19.89 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.3701, allocations: 82.23 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3701, allocations: 8.031 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3701, allocations: 3.984 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3701, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.3704, allocations: 197.6 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3704, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3706, allocations: 27.92 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3706, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3706, allocations: 3.984 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3706, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3706, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.3711, allocations: 365.9 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.3711, allocations: 96.94 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3712, allocations: 8 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3714, allocations: 11.98 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.3714, allocations: 23.91 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3715, allocations: 11.98 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.3716, allocations: 117.2 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3716, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003278/0.3719, allocations: 16 kB / 1.22 GB, free: 10.05 MB / 0.9669 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.000167/0.372, allocations: 103.2 kB / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3725, allocations: 103.8 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3725, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3726, allocations: 43.91 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.3731, allocations: 15.98 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3736, allocations: 233.1 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.374, allocations: 0.7041 MB / 1.221 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.3741, allocations: 23.36 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3741, allocations: 0 / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of Templates: time 0.003626/0.3777, allocations: 1.524 MB / 1.223 GB, free: 7.242 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.478649702155963]