Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001732/0.001732, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002213/0.002213, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002499/0.002499, allocations: 285.6 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002788/0.002788, allocations: 105.2 kB / 0.7402 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1837, allocations: 95.38 MB / 0.8334 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002944/0.1867, allocations: 1.498 MB / 0.8348 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.1875, allocations: 452.5 kB / 0.8353 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.1876, allocations: 0 / 0.8353 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.1876, allocations: 7.938 kB / 0.8353 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.1877, allocations: 11.91 kB / 0.8353 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1879, allocations: 15.98 kB / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.188, allocations: 55.84 kB / 0.8354 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1881, allocations: 8 kB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.1882, allocations: 23.91 kB / 0.8354 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.1882, allocations: 19.92 kB / 0.8354 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1883, allocations: 8 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.1883, allocations: 4 kB / 0.8354 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.1883, allocations: 11.92 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1884, allocations: 23.86 kB / 0.8355 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1885, allocations: 48.09 kB / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1885, allocations: 0 / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1885, allocations: 4 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1885, allocations: 0 / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005364/0.189, allocations: 290.2 kB / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1891, allocations: 9.344 kB / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.1891, allocations: 192 / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1891, allocations: 46.67 kB / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1892, allocations: 0.9375 kB / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1893, allocations: 110.5 kB / 0.8359 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1893, allocations: 4.375 kB / 0.836 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1893, allocations: 12.31 kB / 0.836 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1895, allocations: 61.61 kB / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1895, allocations: 7.938 kB / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1895, allocations: 0 / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1895, allocations: 3.984 kB / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1896, allocations: 27.98 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.1901, allocations: 263.8 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1902, allocations: 46.56 kB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.1903, allocations: 20.95 kB / 0.8364 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1903, allocations: 8 kB / 0.8364 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.1905, allocations: 79.36 kB / 0.8365 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.1905, allocations: 0 / 0.8365 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002482/0.1907, allocations: 97.61 kB / 0.8366 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.1908, allocations: 55.41 kB / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.1909, allocations: 105.8 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1909, allocations: 33.7 kB / 0.8367 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.191, allocations: 84.14 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.191, allocations: 23.78 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.191, allocations: 33.7 kB / 0.8369 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1912, allocations: 326.8 kB / 0.8372 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.1912, allocations: 15.98 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.1913, allocations: 47.42 kB / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.1914, allocations: 63.38 kB / 0.8373 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1914, allocations: 0 / 0.8373 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001559/0.1915, allocations: 101.4 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1915, allocations: 8 kB / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1916, allocations: 0 / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1916, allocations: 0 / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.1916, allocations: 15.98 kB / 0.8374 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1917, allocations: 8.406 kB / 0.8374 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.1917, allocations: 7.938 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1917, allocations: 4 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001058/0.1918, allocations: 122.4 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1919, allocations: 12.17 kB / 0.8376 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.1919, allocations: 8.062 kB / 0.8376 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1919, allocations: 3.984 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1919, allocations: 0 / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1919, allocations: 3.938 kB / 0.8376 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1923, allocations: 325.5 kB / 0.8379 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1923, allocations: 4.062 kB / 0.8379 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.1923, allocations: 8 kB / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1923, allocations: 0 / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1924, allocations: 7.922 kB / 0.8379 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1924, allocations: 4 kB / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1924, allocations: 0 / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1925, allocations: 179.4 kB / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1926, allocations: 7.984 kB / 0.8381 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1926, allocations: 3.938 kB / 0.8381 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.1927, allocations: 8 kB / 0.8381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.1927, allocations: 11.98 kB / 0.8381 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1927, allocations: 0 / 0.8381 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.1928, allocations: 87.2 kB / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1928, allocations: 0 / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002294/0.193, allocations: 19.95 kB / 0.8382 GB, free: 3.105 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005285/0.1935, allocations: 0.7166 MB / 0.8389 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1937, allocations: 51.86 kB / 0.839 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1937, allocations: 0 / 0.839 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1937, allocations: 27.98 kB / 0.839 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1941, allocations: 24.58 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1957, allocations: 1.366 MB / 0.8404 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.761e-05/0.1957, allocations: 71.33 kB / 0.8404 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.1958, allocations: 4 kB / 0.8404 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.1958, allocations: 19.42 kB / 0.8404 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1958, allocations: 0 / 0.8404 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2193, allocations: 2.02 MB / 0.8424 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.48, allocations: 14.22 kB / 0.8424 GB, free: 14.83 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.642563640954904] Failed to read output from testmodel.py, exit status != 0: 11.644684580969624 11.660771451 11.469291829 Calling exit ...