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.0008103/0.0008103, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008999/0.0008999, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.932e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001688/0.001718, allocations: 0.8195 MB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.00288, allocations: 0.921 MB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.00295, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.002992, allocations: 7.875 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003098, allocations: 15.88 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.003379, allocations: 55.73 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003508, allocations: 111.7 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.003629, allocations: 21.23 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.003844, allocations: 75.8 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.003923, allocations: 47.88 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003947, allocations: 11.94 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.003998, allocations: 12 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.00402, allocations: 27.91 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.004067, allocations: 35.91 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.004255, allocations: 131.5 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004257, allocations: 0 / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004259, allocations: 0 / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004263, allocations: 3.938 kB / 0.9528 GB, free: 1.117 MB / 0.9011 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.0005288/0.004792, allocations: 371.6 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.004839, allocations: 16.03 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.004871, allocations: 34.75 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.005033, allocations: 36.81 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.005336, allocations: 189.7 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.005356, allocations: 4.375 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.00537, allocations: 8.375 kB / 0.9534 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.005562, allocations: 120.8 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005569, allocations: 192 / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.00558, allocations: 384 / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005586, allocations: 7.938 kB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.005744, allocations: 75.86 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.006211, allocations: 460.8 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.006374, allocations: 107.8 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.006455, allocations: 50.61 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.006478, allocations: 3.984 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.0065, allocations: 42.64 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.006502, allocations: 0 / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003618/0.006863, allocations: 165.4 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.006911, allocations: 102.8 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.007001, allocations: 148.3 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.007017, allocations: 29.7 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.007072, allocations: 116.5 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.007098, allocations: 27.8 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.007136, allocations: 25.7 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.007216, allocations: 326.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.007302, allocations: 39.97 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.007422, allocations: 158.2 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.007577, allocations: 102.4 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.00758, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002077/0.007787, allocations: 145.5 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.0078, allocations: 7.938 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007805, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.007819, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.007903, allocations: 15.98 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.007909, allocations: 7.938 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.007972, allocations: 19.97 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.007979, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 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.77e-05/0.008057, allocations: 127 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.008094, allocations: 11.91 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.008247, allocations: 85.98 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.008251, allocations: 8 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.008256, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.008259, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.008461, allocations: 164.7 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008462, allocations: 0 / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.008512, allocations: 23.92 kB / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008513, allocations: 0 / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.008523, allocations: 4.359 kB / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.008526, allocations: 4 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008528, allocations: 4.062 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.008804, allocations: 377.9 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.008817, allocations: 19.83 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.008837, allocations: 7.984 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.008944, allocations: 11.98 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.009004, allocations: 23.95 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.00901, allocations: 4 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.009065, allocations: 118.7 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.009065, allocations: 0 / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002262/0.009291, allocations: 16 kB / 0.9566 GB, free: 12.85 MB / 0.9167 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.0004774/0.009768, allocations: 0.8984 MB / 0.9575 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.009995, allocations: 99.86 kB / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.009998, allocations: 4 kB / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.01009, allocations: 47.91 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.01044, allocations: 15.92 kB / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.0119, allocations: 1.81 MB / 0.9594 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.01197, allocations: 88.3 kB / 0.9595 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.01203, allocations: 20.7 kB / 0.9595 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.01209, allocations: 36.48 kB / 0.9596 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.01209, allocations: 0 / 0.9596 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.03176, allocations: 3.449 MB / 0.9629 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.676, allocations: 3.5 kB / 0.9629 GB, free: 6.395 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.7519357400015]