Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001059, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 197.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.83 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5479, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001832/0.5498, allocations: 0.9171 MB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.5506, allocations: 0.8779 MB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.5506, allocations: 4 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.5507, allocations: 3.938 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.5508, allocations: 15.86 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.551, allocations: 39.95 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.5511, allocations: 107.6 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5512, allocations: 25.08 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.5513, allocations: 51.78 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.5514, allocations: 55.75 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.5514, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.5514, allocations: 8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.5515, allocations: 19.91 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.5515, allocations: 43.73 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.5517, allocations: 109.9 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5517, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5517, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5517, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 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.0005916/0.5523, allocations: 452.8 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5523, allocations: 8.031 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.5524, allocations: 42.69 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.5524, allocations: 8.844 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.5529, allocations: 262 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5529, allocations: 8.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.5529, allocations: 4.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.5532, allocations: 120.4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5532, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5532, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.5532, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.5534, allocations: 75.91 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.554, allocations: 0.4931 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.5542, allocations: 115.8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5543, allocations: 62.53 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.5544, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5544, allocations: 38.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.5544, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005194/0.5549, allocations: 161.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.555, allocations: 102.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5551, allocations: 147.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.5551, allocations: 37.62 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.5552, allocations: 104.6 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.5552, allocations: 27.64 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.5553, allocations: 25.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.5553, allocations: 330.8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.5555, allocations: 43.91 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5556, allocations: 81.11 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.5559, allocations: 90.52 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5559, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003125/0.5562, allocations: 137.5 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5562, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5562, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.5563, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.5564, allocations: 19.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5564, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.5565, allocations: 19.89 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5565, allocations: 11.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 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 8.237e-05/0.5566, allocations: 126.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.5567, allocations: 11.91 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.5569, allocations: 86.16 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5569, allocations: 4.047 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5569, allocations: 3.984 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5569, allocations: 7.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.5572, allocations: 205.5 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5572, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5573, allocations: 27.97 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5573, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5574, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5574, allocations: 4 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5574, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.5577, allocations: 369.9 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.5578, allocations: 85.02 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.5578, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.558, allocations: 19.98 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.5581, allocations: 19.95 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5581, allocations: 11.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.5582, allocations: 109.7 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5582, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002977/0.5585, allocations: 16 kB / 1.023 GB, free: 12.01 MB / 0.7794 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.0006162/0.5591, allocations: 0.9179 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.5594, allocations: 103.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5594, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.5596, allocations: 55.89 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.56, allocations: 15.88 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.5618, allocations: 1.811 MB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.562, allocations: 0.7043 MB / 1.026 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.523e-05/0.5621, allocations: 16.64 kB / 1.026 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.5622, allocations: 35.42 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5622, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.5727, allocations: 2.33 MB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.573, allocations: 208.9 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.162, allocations: 0 / 1.029 GB, free: 5.711 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches