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.001755/0.001755, allocations: 105.6 kB / 16.45 MB, free: 6.504 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.002047/0.002047, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.596/1.596, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.762/2.762, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.002143/0.002143, allocations: 71.89 kB / 1.104 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9631, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002156/0.9652, allocations: 0.851 MB / 1.27 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.9664, allocations: 0.8857 MB / 1.271 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.9664, allocations: 4 kB / 1.271 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.9665, allocations: 19.8 kB / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.9666, allocations: 15.8 kB / 1.271 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.9668, allocations: 39.89 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.9669, allocations: 115.7 kB / 1.271 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.967, allocations: 17.11 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.9672, allocations: 51.77 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.9673, allocations: 55.77 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.9673, allocations: 8 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.9673, allocations: 16 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.9674, allocations: 27.91 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.9674, allocations: 43.72 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.9676, allocations: 121.3 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9676, allocations: 0 / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9676, allocations: 0 / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9676, allocations: 0 / 1.271 GB, free: 2.902 MB / 0.9669 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.0007391/0.9683, allocations: 454.8 kB / 1.271 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9684, allocations: 8.031 kB / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.9684, allocations: 38.75 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.9685, allocations: 12.84 kB / 1.272 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.969, allocations: 261.4 kB / 1.272 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.969, allocations: 8.375 kB / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.969, allocations: 16.36 kB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.9693, allocations: 116.5 kB / 1.272 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.9693, allocations: 3.938 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.9693, allocations: 4 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9693, allocations: 0 / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.9696, allocations: 79.92 kB / 1.272 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.9703, allocations: 0.4892 MB / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.9705, allocations: 107.8 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.9707, allocations: 54.59 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.9707, allocations: 4 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.9708, allocations: 42.5 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9708, allocations: 0 / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005689/0.9713, allocations: 161.7 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.9714, allocations: 102.8 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.9715, allocations: 144.9 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.9716, allocations: 33.69 kB / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.9716, allocations: 104.4 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.9717, allocations: 35.7 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.9717, allocations: 25.7 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.9719, allocations: 330.8 kB / 1.274 GB, free: 28 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.972, allocations: 44 kB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.9722, allocations: 84.98 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.9725, allocations: 90.52 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9725, allocations: 0 / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003548/0.9728, allocations: 141.8 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9729, allocations: 6.031 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.9729, allocations: 4 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9729, allocations: 8 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.973, allocations: 23.92 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.973, allocations: 0 / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.9732, allocations: 19.97 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.9732, allocations: 7.984 kB / 1.274 GB, free: 15.57 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.0001057/0.9733, allocations: 121.8 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.9734, allocations: 11.91 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.9736, allocations: 93.83 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9736, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9736, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9736, allocations: 0 / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.9739, allocations: 197.6 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.974, allocations: 3.984 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.9741, allocations: 19.98 kB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.9741, allocations: 4 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.9741, allocations: 4 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9741, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9741, allocations: 4 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.9745, allocations: 377.8 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.9746, allocations: 96.89 kB / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.9746, allocations: 0 / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.9748, allocations: 19.98 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.9749, allocations: 23.95 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.9749, allocations: 7.938 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.871e-05/0.975, allocations: 109.9 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.975, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003094/0.9753, allocations: 20 kB / 1.275 GB, free: 14.37 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.0008506/0.9762, allocations: 0.9044 MB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.9765, allocations: 91.86 kB / 1.276 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.9765, allocations: 0 / 1.276 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.9767, allocations: 52.03 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.9772, allocations: 19.92 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.9795, allocations: 1.804 MB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.9798, allocations: 0.7002 MB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.223e-05/0.9799, allocations: 20.91 kB / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.98, allocations: 35.42 kB / 1.279 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.98, allocations: 0 / 1.279 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/1.007, allocations: 2.727 MB / 1.281 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.268, allocations: 17.56 kB / 1.281 GB, free: 7.945 MB / 0.9825 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 --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_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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.51045833574608]