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.00171/0.00171, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001632/0.001632, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.965 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.782/2.782, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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: "" <> 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: 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.002093/0.002093, allocations: 64.14 kB / 1.117 GB, free: 39.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 170 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002356/0.3528, allocations: 0.8637 MB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3543, allocations: 0.925 MB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3544, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.3544, allocations: 7.875 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.3545, allocations: 15.81 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3548, allocations: 47.81 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.355, allocations: 119.7 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3552, allocations: 21.28 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.3554, allocations: 59.78 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3555, allocations: 55.75 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.3556, allocations: 8 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.3556, allocations: 16 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.3557, allocations: 23.92 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.3557, allocations: 47.72 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.356, allocations: 130.9 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.356, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.356, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.356, allocations: 3.938 kB / 1.286 GB, free: 8.938 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.0007999/0.3568, allocations: 369.7 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3568, allocations: 8.031 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.3569, allocations: 34.73 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.3572, allocations: 36.88 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3577, allocations: 182.5 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.3577, allocations: 8.375 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.3577, allocations: 8.375 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3581, allocations: 128.4 kB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3581, allocations: 0 / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3581, allocations: 4 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3581, allocations: 4 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3584, allocations: 67.88 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.3591, allocations: 480.1 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3593, allocations: 107.8 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3595, allocations: 52.38 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3595, allocations: 7.938 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3595, allocations: 46.55 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3595, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005895/0.3601, allocations: 165.4 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.3602, allocations: 106.8 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3603, allocations: 157.1 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3604, allocations: 25.7 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.3605, allocations: 116.2 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3605, allocations: 27.84 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.3606, allocations: 21.72 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3607, allocations: 326.8 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3609, allocations: 43.95 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.361, allocations: 89 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3613, allocations: 98.44 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3613, allocations: 4 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003893/0.3617, allocations: 129.5 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3617, allocations: 8 kB / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3617, allocations: 0 / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3618, allocations: 0 / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3619, allocations: 23.97 kB / 1.288 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3619, allocations: 4 kB / 1.288 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.362, allocations: 19.94 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3621, allocations: 4 kB / 1.288 GB, free: 5.809 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.0001115/0.3622, allocations: 125.7 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.3622, allocations: 11.95 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3625, allocations: 85.98 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3625, allocations: 4 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3625, allocations: 3.984 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3625, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3628, allocations: 176.5 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3628, allocations: 4 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.363, allocations: 19.98 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.363, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.363, allocations: 7.984 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.363, allocations: 3.938 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.363, allocations: 4.062 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.3634, allocations: 373.9 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3635, allocations: 8.328 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3635, allocations: 3.984 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3637, allocations: 19.98 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.3638, allocations: 23.95 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3638, allocations: 7.938 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.363e-05/0.3639, allocations: 113.8 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 0 / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003309/0.3642, allocations: 27.89 kB / 1.289 GB, free: 4.727 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.000905/0.3651, allocations: 0.9086 MB / 1.29 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.3655, allocations: 99.86 kB / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3655, allocations: 0 / 1.29 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3657, allocations: 47.91 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3662, allocations: 19.92 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.3686, allocations: 1.79 MB / 1.292 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.369, allocations: 0.6963 MB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.911e-05/0.369, allocations: 16.64 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.3691, allocations: 39.41 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.3691, allocations: 4 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3997, allocations: 2.841 MB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 3.266 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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/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: 18.28947243397124]