Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001288/0.001288, allocations: 97.91 kB / 20.48 MB, free: 1.387 MB / 14.72 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.001457/0.001457, allocations: 216.5 kB / 23.78 MB, free: 4.559 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 257.6 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9723/0.9723, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 59.28 kB / 0.642 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1977, allocations: 89.18 MB / 0.7291 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002303/0.2, allocations: 0.8054 MB / 0.7299 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2014, allocations: 0.9133 MB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.2015, allocations: 4 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.2016, allocations: 11.86 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2017, allocations: 15.81 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.202, allocations: 43.88 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.2022, allocations: 115.7 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2023, allocations: 13.3 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.2025, allocations: 63.77 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2026, allocations: 55.77 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.2027, allocations: 12 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.2027, allocations: 16 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.2028, allocations: 27.91 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.2028, allocations: 47.72 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.2031, allocations: 123.7 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2031, allocations: 0 / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2031, allocations: 0 / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.2031, allocations: 4 kB / 0.7313 GB, free: 14.5 MB / 0.5606 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.0008091/0.2039, allocations: 369.7 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2039, allocations: 12.03 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.599e-05/0.204, allocations: 192 / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.204, allocations: 42.73 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.2043, allocations: 24.88 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.2048, allocations: 190.4 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.2049, allocations: 8.375 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.2049, allocations: 12.38 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2052, allocations: 120.2 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2052, allocations: 0 / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2052, allocations: 4 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2052, allocations: 7.938 kB / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.2055, allocations: 79.86 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.2062, allocations: 460.2 kB / 0.7326 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.2065, allocations: 111.8 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2066, allocations: 54.55 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.2067, allocations: 4 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2067, allocations: 34.56 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.2067, allocations: 4 kB / 0.7328 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.2074, allocations: 157.6 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.2075, allocations: 118.7 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2077, allocations: 146 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2077, allocations: 33.7 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.2078, allocations: 112.2 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.2078, allocations: 19.86 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.2079, allocations: 29.7 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2081, allocations: 326.8 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2082, allocations: 35.97 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.2085, allocations: 162.9 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2088, allocations: 98.48 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2088, allocations: 0 / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003958/0.2092, allocations: 137.5 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2092, allocations: 4 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2092, allocations: 4 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.2092, allocations: 4 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2094, allocations: 15.98 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2094, allocations: 4 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2095, allocations: 27.86 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.2095, allocations: 7.938 kB / 0.7341 GB, free: 11.28 MB / 0.5606 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.0001219/0.2097, allocations: 121.8 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2097, allocations: 11.89 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.21, allocations: 93.98 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.21, allocations: 0 / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.21, allocations: 0 / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.21, allocations: 4 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.2103, allocations: 168.7 kB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2103, allocations: 0 / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.2105, allocations: 23.98 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2105, allocations: 4 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2105, allocations: 7.984 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2105, allocations: 4 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2105, allocations: 0 / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.211, allocations: 365.9 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.211, allocations: 11.89 kB / 0.7349 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.211, allocations: 11.98 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2113, allocations: 11.98 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/0.2113, allocations: 35.83 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2114, allocations: 0 / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.413e-05/0.2114, allocations: 111.2 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2114, allocations: 0 / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003323/0.2118, allocations: 19.95 kB / 0.7351 GB, free: 10.21 MB / 0.5606 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.0008461/0.2126, allocations: 0.914 MB / 0.736 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.213, allocations: 100.1 kB / 0.7361 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.213, allocations: 0 / 0.7361 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2132, allocations: 39.97 kB / 0.7361 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.2137, allocations: 23.73 kB / 0.7362 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2163, allocations: 1.805 MB / 0.7379 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2165, allocations: 88.12 kB / 0.738 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.348e-05/0.2165, allocations: 16.64 kB / 0.738 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2166, allocations: 39.41 kB / 0.7381 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2166, allocations: 0 / 0.7381 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.247, allocations: 2.954 MB / 0.7409 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.66, allocations: 5.812 kB / 0.741 GB, free: 4.258 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.657613310031593] Failed to read output from testmodel.py, exit status != 0: 11.822674715076573 11.849027928 11.641232524 Calling exit ...