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.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.001747/0.001747, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001845/0.001845, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 79.88 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 168.7 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002061/1.081, allocations: 0.8613 MB / 1.272 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/1.082, allocations: 0.8894 MB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/1.082, allocations: 1.531 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/1.082, allocations: 13.03 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/1.082, allocations: 19.36 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/1.082, allocations: 34.86 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/1.082, allocations: 119.9 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/1.082, allocations: 20.2 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/1.083, allocations: 53.59 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.083, allocations: 53.16 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/1.083, allocations: 9.531 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/1.083, allocations: 9.156 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/1.083, allocations: 28.75 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/1.083, allocations: 52.5 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/1.083, allocations: 125.8 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.083, allocations: 0 / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/1.083, allocations: 0.9375 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.083, allocations: 4 kB / 1.274 GB, free: 6.055 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.0006666/1.084, allocations: 443 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.084, allocations: 9.625 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/1.084, allocations: 38.22 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/1.084, allocations: 15.59 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/1.084, allocations: 258 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/1.084, allocations: 3.562 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.084, allocations: 9.562 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/1.085, allocations: 118.7 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.085, allocations: 4 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.085, allocations: 1.641 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.085, allocations: 2.062 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/1.085, allocations: 78.16 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/1.085, allocations: 0.4939 MB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/1.086, allocations: 115.9 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/1.086, allocations: 51.77 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/1.086, allocations: 5.031 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.086, allocations: 42.36 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.086, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005968/1.086, allocations: 157.5 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.087, allocations: 109.2 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.087, allocations: 152.7 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/1.087, allocations: 33.52 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/1.087, allocations: 106.3 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/1.087, allocations: 30.33 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/1.087, allocations: 26.19 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/1.087, allocations: 326.9 kB / 1.276 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/1.087, allocations: 40.06 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/1.087, allocations: 83.89 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/1.087, allocations: 89.83 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.087, allocations: 0.7812 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/1.088, allocations: 145 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.088, allocations: 5.719 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.088, allocations: 0 / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.088, allocations: 2.688 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/1.088, allocations: 18.98 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.088, allocations: 1.75 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/1.088, allocations: 17.86 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.088, allocations: 7.828 kB / 1.277 GB, free: 3.629 MB / 0.9981 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.83e-05/1.088, allocations: 132.4 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/1.088, allocations: 14.56 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/1.089, allocations: 87.97 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.089, allocations: 2.406 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.089, allocations: 1.062 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.089, allocations: 4.875 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.089, allocations: 199.8 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.089, allocations: 0.6562 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.089, allocations: 23.22 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.089, allocations: 0.875 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.089, allocations: 1.5 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/1.089, allocations: 5.219 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.089, allocations: 1.062 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/1.089, allocations: 377.1 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/1.089, allocations: 94.44 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/1.089, allocations: 6.188 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.09, allocations: 22.88 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/1.09, allocations: 24.97 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.09, allocations: 8.844 kB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.167e-05/1.09, allocations: 112 kB / 1.278 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.09, allocations: 0 / 1.278 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003287/1.09, allocations: 17.53 kB / 1.278 GB, free: 2.688 MB / 0.9981 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.0007089/1.091, allocations: 0.9058 MB / 1.279 GB, free: 17.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003984/1.091, allocations: 99.09 kB / 1.279 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.091, allocations: 0 / 1.279 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/1.091, allocations: 46.92 kB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/1.092, allocations: 17.38 kB / 1.279 GB, free: 17.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.094, allocations: 1.815 MB / 1.281 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.095, allocations: 0.7013 MB / 1.281 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.897e-05/1.095, allocations: 23.3 kB / 1.281 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/1.095, allocations: 31.56 kB / 1.281 GB, free: 15.57 MB / 1.014 GB Notification: Performance of SimCode: time 4.8e-07/1.095, allocations: 0 / 1.281 GB, free: 15.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/1.121, allocations: 2.717 MB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/9.13, allocations: 4.281 kB / 1.284 GB, free: 15.12 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] 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_2/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] "" Variables in the reference:time,hysteresis.u,hysteresis.y,hysteresis1.u,hysteresis1.y,hysteresis2.u,hysteresis2.y Variables in the result:hysteresis.pre_y_start,hysteresis.u,hysteresis.uHigh,hysteresis.uLow,hysteresis.y,hysteresis1.pre_y_start,hysteresis1.u,hysteresis1.uHigh,hysteresis1.uLow,hysteresis1.y,hysteresis2.pre_y_start,hysteresis2.u,hysteresis2.uHigh,hysteresis2.uLow,hysteresis2.y,time [Calling sys.exit(0), Time elapsed: 15.243417858990142]