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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 102 kB / 16.45 MB, free: 6.445 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.001423/0.001423, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 1.056 GB, free: 2.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 160.7 MB / 1.213 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002174/0.3484, allocations: 0.856 MB / 1.214 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3495, allocations: 0.8857 MB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3496, allocations: 0 / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3496, allocations: 11.88 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3497, allocations: 15.81 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.3499, allocations: 43.86 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3501, allocations: 111.7 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3502, allocations: 25.05 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3503, allocations: 51.78 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3504, allocations: 59.73 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3505, allocations: 12 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.3505, allocations: 12 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3505, allocations: 19.92 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.3506, allocations: 51.72 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3508, allocations: 123.7 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3508, allocations: 0 / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3508, allocations: 0 / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3508, allocations: 3.938 kB / 1.215 GB, free: 15.09 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.0007338/0.3515, allocations: 446.8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3516, allocations: 12.03 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.3516, allocations: 34.73 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3516, allocations: 16.84 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.3521, allocations: 250.3 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3522, allocations: 12.38 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3522, allocations: 4.375 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3525, allocations: 124.5 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3525, allocations: 0 / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3525, allocations: 7.938 kB / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3525, allocations: 0 / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.3528, allocations: 79.91 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.3535, allocations: 0.5009 MB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3537, allocations: 111.8 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3539, allocations: 54.61 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.3539, allocations: 4 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.354, allocations: 34.5 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.354, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.3545, allocations: 165.7 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.3546, allocations: 102.8 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3548, allocations: 151.5 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3548, allocations: 29.7 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.3549, allocations: 108.3 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.3549, allocations: 24.52 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.355, allocations: 29.72 kB / 1.217 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3551, allocations: 326.8 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3553, allocations: 39.97 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3555, allocations: 85.23 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3557, allocations: 98.48 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3557, allocations: 0 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003618/0.3561, allocations: 141.5 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3561, allocations: 8 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3561, allocations: 0 / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3561, allocations: 4 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3563, allocations: 19.92 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.3563, allocations: 7.984 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.3564, allocations: 20.05 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3564, allocations: 4 kB / 1.218 GB, free: 11.77 MB / 0.9669 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.000118/0.3566, allocations: 133.3 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.3566, allocations: 15.91 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3569, allocations: 93.83 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3569, allocations: 0 / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3569, allocations: 0 / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3569, allocations: 3.984 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3573, allocations: 201.6 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3573, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3574, allocations: 15.98 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3574, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3574, allocations: 7.984 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3574, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3574, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3578, allocations: 373.9 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.3579, allocations: 89.02 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3579, allocations: 4 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3581, allocations: 15.97 kB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.3582, allocations: 19.97 kB / 1.219 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3582, allocations: 15.92 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.287e-05/0.3583, allocations: 109.3 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3583, allocations: 4 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003161/0.3586, allocations: 16 kB / 1.219 GB, free: 10.57 MB / 0.9669 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.0008853/0.3595, allocations: 0.9023 MB / 1.22 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3599, allocations: 96.09 kB / 1.22 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3599, allocations: 0 / 1.22 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.36, allocations: 56.05 kB / 1.22 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.3605, allocations: 21.53 kB / 1.22 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3629, allocations: 1.812 MB / 1.222 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3633, allocations: 0.7041 MB / 1.223 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.3633, allocations: 16.64 kB / 1.223 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.3634, allocations: 35.42 kB / 1.223 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3634, allocations: 0 / 1.223 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3899, allocations: 2.72 MB / 1.225 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.471, allocations: 3.547 kB / 1.225 GB, free: 4.156 MB / 0.9669 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.596435021143407]