Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001193/0.001193, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001228/0.001228, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8549/0.8549, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.723/1.723, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.624e-06/2.624e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.296e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001381/0.001404, allocations: 0.8143 MB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.002263, allocations: 0.914 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.00231, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.002342, allocations: 11.88 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.002422, allocations: 19.73 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.002633, allocations: 47.88 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.002741, allocations: 111.6 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.002844, allocations: 25.28 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.003015, allocations: 79.8 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.003082, allocations: 35.89 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.003102, allocations: 12 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.119e-05/0.003143, allocations: 19.94 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.003163, allocations: 27.91 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.003191, allocations: 27.91 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003343, allocations: 135.5 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003345, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003346, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00335, allocations: 4 kB / 1.002 GB, free: 11.14 MB / 0.9636 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.0004437/0.003794, allocations: 365.7 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.00383, allocations: 12.75 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.003862, allocations: 46.67 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.004002, allocations: 24.88 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.004275, allocations: 189.7 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.004294, allocations: 4.375 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.004309, allocations: 12.38 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.004479, allocations: 116.7 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004486, allocations: 192 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004496, allocations: 4.375 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.004502, allocations: 7.922 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.004643, allocations: 75.94 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.005045, allocations: 468.1 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.005194, allocations: 107.8 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.005274, allocations: 50.59 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.005295, allocations: 7.984 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.005315, allocations: 46.44 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.005316, allocations: 4 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003209/0.005637, allocations: 157.4 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.005678, allocations: 106.8 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.005756, allocations: 144.8 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.005774, allocations: 37.69 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.00582, allocations: 96.62 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.005847, allocations: 35.73 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.005885, allocations: 29.7 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.005961, allocations: 322.8 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.006046, allocations: 39.97 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.006409, allocations: 162.2 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.006549, allocations: 94.45 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006551, allocations: 3.938 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001834/0.006735, allocations: 137.5 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.006748, allocations: 8 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.006753, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.006764, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.00684, allocations: 23.92 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006844, allocations: 4 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.006902, allocations: 19.92 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.006912, allocations: 8 kB / 1.005 GB, free: 7.938 MB / 0.9636 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.622e-05/0.006989, allocations: 121.8 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.007022, allocations: 7.953 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.007171, allocations: 93.92 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007173, allocations: 4 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.007178, allocations: 0 / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007182, allocations: 4 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.007376, allocations: 168.7 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007377, allocations: 3.938 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.007422, allocations: 15.98 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007424, allocations: 0 / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.007435, allocations: 12.06 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.007438, allocations: 3.984 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007439, allocations: 0 / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.00767, allocations: 378.2 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.00768, allocations: 7.953 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.007701, allocations: 11.98 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.007807, allocations: 15.97 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.007858, allocations: 23.95 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.007863, allocations: 0 / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.007917, allocations: 121.5 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.007917, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002083/0.008125, allocations: 16 kB / 1.006 GB, free: 6.871 MB / 0.9636 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.000432/0.008557, allocations: 0.9022 MB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.008767, allocations: 99.84 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008768, allocations: 0 / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.00885, allocations: 47.91 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.009176, allocations: 12 kB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.01054, allocations: 1.831 MB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.0106, allocations: 84.39 kB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.01066, allocations: 16.64 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.01072, allocations: 40.47 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01072, allocations: 3.938 kB / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02792, allocations: 3.425 MB / 1.012 GB, free: 416 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/6.6, allocations: 12.05 kB / 1.012 GB, free: 404 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.58647618163377]