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.001287/0.001287, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00146/0.00146, allocations: 225 kB / 23 MB, free: 4.914 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.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.81/2.81, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] 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.002121/0.002121, allocations: 71.56 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 169.9 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002617/0.3524, allocations: 0.8247 MB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.354, allocations: 0.9211 MB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.354, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.3541, allocations: 11.86 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3542, allocations: 15.81 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.3545, allocations: 51.88 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3547, allocations: 111.7 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3548, allocations: 21.3 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.3551, allocations: 55.78 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3553, allocations: 51.75 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.3553, allocations: 8 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.3553, allocations: 16 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.3554, allocations: 23.91 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.3554, allocations: 39.8 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3557, allocations: 131.4 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3557, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3557, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3557, allocations: 8 kB / 1.286 GB, free: 9.633 MB / 0.9825 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.0008626/0.3566, allocations: 367.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001039/0.3567, allocations: 12.03 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.357, allocations: 28.86 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.3575, allocations: 190.4 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.3575, allocations: 8.375 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3576, allocations: 8.375 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3579, allocations: 116.7 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3579, allocations: 7.875 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3579, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3579, allocations: 4 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.3582, allocations: 71.92 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.3589, allocations: 440.7 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.3592, allocations: 107.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.3594, allocations: 60.39 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3594, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3594, allocations: 38.5 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3594, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006422/0.3601, allocations: 157.6 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.3602, allocations: 118.8 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3604, allocations: 145.1 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3604, allocations: 33.7 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.3605, allocations: 104.3 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3605, allocations: 27.75 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.3606, allocations: 33.7 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002463/0.3609, allocations: 326.8 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.361, allocations: 39.97 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3613, allocations: 166.2 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3616, allocations: 90.73 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3616, allocations: 0 / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004017/0.362, allocations: 137.5 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.362, allocations: 12 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.362, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.362, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3622, allocations: 23.92 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3622, allocations: 0 / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3623, allocations: 23.92 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3623, allocations: 4 kB / 1.289 GB, free: 6.516 MB / 0.9825 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.0001343/0.3625, allocations: 121.8 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3625, allocations: 11.95 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.3628, allocations: 93.98 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3629, allocations: 4 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3629, allocations: 4 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3629, allocations: 0 / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.3632, allocations: 141.3 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3632, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3633, allocations: 19.98 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3633, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3633, allocations: 3.938 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3633, allocations: 7.938 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3633, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.3638, allocations: 377.8 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.3639, allocations: 15.89 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3639, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3641, allocations: 15.98 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.3642, allocations: 27.94 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3642, allocations: 8 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.613e-05/0.3643, allocations: 111.2 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003353/0.3646, allocations: 12 kB / 1.29 GB, free: 5.488 MB / 0.9825 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.0001563/0.3648, allocations: 103.2 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.3652, allocations: 103.9 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3652, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.3654, allocations: 48.3 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.3659, allocations: 18.58 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.3664, allocations: 225.2 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3665, allocations: 88.31 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.3666, allocations: 23.42 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3666, allocations: 0 / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.004202/0.3708, allocations: 1.548 MB / 1.292 GB, free: 3.273 MB / 0.9825 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 -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: 11.128822377882898]