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.002064/0.002064, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002601/0.002601, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 8 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.874/2.874, allocations: 476.7 MB / 0.7706 GB, free: 4.262 MB / 0.6231 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.002094/0.002094, allocations: 69.61 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4285, allocations: 169.9 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002326/0.4308, allocations: 0.8775 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4322, allocations: 0.9173 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.4323, allocations: 4 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.4323, allocations: 15.8 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.4324, allocations: 11.81 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.4327, allocations: 51.88 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.4329, allocations: 115.7 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.433, allocations: 21.3 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.4332, allocations: 59.77 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4333, allocations: 55.75 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.4333, allocations: 12 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.4334, allocations: 15.94 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.4334, allocations: 19.92 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.4335, allocations: 51.72 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.4337, allocations: 123.5 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4337, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4337, allocations: 4 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4337, allocations: 0 / 1.286 GB, free: 8.84 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.0008002/0.4345, allocations: 367.3 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4346, allocations: 12.03 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.4349, allocations: 28.86 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.4354, allocations: 196.8 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.4354, allocations: 8.375 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4354, allocations: 12.36 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4357, allocations: 118.2 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4357, allocations: 7.875 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4357, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4357, allocations: 4 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.436, allocations: 71.92 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.4367, allocations: 484.1 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.437, allocations: 107.8 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4372, allocations: 56.38 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.4372, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4372, allocations: 34.5 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4372, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006207/0.4378, allocations: 161.4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.4379, allocations: 110.8 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4381, allocations: 144.9 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4381, allocations: 33.95 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.4382, allocations: 112.2 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4383, allocations: 19.94 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.4383, allocations: 33.7 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4385, allocations: 322.8 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.4386, allocations: 39.97 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4388, allocations: 89.05 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.4391, allocations: 98.67 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4391, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003765/0.4395, allocations: 141.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4395, allocations: 8 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4395, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4395, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4397, allocations: 23.92 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4397, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.4398, allocations: 35.8 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4398, allocations: 4 kB / 1.289 GB, free: 5.75 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.0001288/0.44, allocations: 121.8 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.44, allocations: 7.953 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.4403, allocations: 93.92 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4403, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4403, allocations: 4 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4403, allocations: 4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4406, allocations: 180.6 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4406, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4407, allocations: 15.98 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4407, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4408, allocations: 4 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4408, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4408, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.4412, allocations: 377.9 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.4413, allocations: 15.89 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4413, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4415, allocations: 19.97 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.4416, allocations: 23.95 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4416, allocations: 12.06 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001065/0.4417, allocations: 111.2 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4417, allocations: 4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003145/0.442, allocations: 15.95 kB / 1.29 GB, free: 4.68 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.0001472/0.4421, allocations: 103.2 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.4425, allocations: 103.9 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4425, allocations: 0 / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.4427, allocations: 44.3 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.4432, allocations: 18.48 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.4437, allocations: 203.6 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.444, allocations: 0.7002 MB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.4441, allocations: 20.72 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.4442, allocations: 23.36 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4442, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.004702/0.4489, allocations: 1.397 MB / 1.292 GB, free: 2.008 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/jenkins/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.434852165170014]