Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001012/0.001012, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001211/0.001211, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.006/1.006, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.99/1.99, allocations: 0.5046 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009007/0.0009007, allocations: 67.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7604, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002018/0.7624, allocations: 1.506 MB / 1.354 GB, free: 168 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.7631, allocations: 470.9 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.7632, allocations: 0 / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.7632, allocations: 3.938 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.7634, allocations: 23.84 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 6.595e-05/0.7635, allocations: 19.92 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.7636, allocations: 55.84 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.7637, allocations: 8 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.7638, allocations: 35.84 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.7639, allocations: 27.84 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.7639, allocations: 4 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.7639, allocations: 4 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.764, allocations: 8 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.764, allocations: 19.92 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.7644, allocations: 54.19 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7644, allocations: 0 / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7644, allocations: 0 / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7644, allocations: 0 / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004973/0.7649, allocations: 286.2 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7649, allocations: 8.922 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.765, allocations: 34.75 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.765, allocations: 4.891 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.7651, allocations: 122.5 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.7651, allocations: 384 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.7651, allocations: 4.375 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.7652, allocations: 57.81 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7652, allocations: 0 / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.7653, allocations: 7.984 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7653, allocations: 0 / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.7653, allocations: 19.98 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.7657, allocations: 255.8 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.7658, allocations: 46.58 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.7659, allocations: 20.97 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.7659, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.7661, allocations: 71.33 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.7661, allocations: 0 / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0002098/0.7663, allocations: 89.56 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.7663, allocations: 63.41 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.7664, allocations: 109.8 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7664, allocations: 29.7 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.7665, allocations: 84.08 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.7665, allocations: 19.89 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.7665, allocations: 17.72 kB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.7666, allocations: 326.8 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.7666, allocations: 12 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.7667, allocations: 12 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.7667, allocations: 44.78 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7667, allocations: 4 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001233/0.7669, allocations: 82.17 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7669, allocations: 4 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7669, allocations: 4.016 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7669, allocations: 0 / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.767, allocations: 8 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.767, allocations: 3.984 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.767, allocations: 8.234 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.767, allocations: 0 / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.497e-05/0.7671, allocations: 121.7 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.7671, allocations: 15.95 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.7671, allocations: 8.375 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7671, allocations: 0 / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7672, allocations: 0 / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7672, allocations: 3.984 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.7673, allocations: 140.7 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.7673, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.7673, allocations: 4 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7673, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.7673, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7673, allocations: 4 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7673, allocations: 4 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.7674, allocations: 101 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.7674, allocations: 15.83 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.7675, allocations: 0 / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.7675, allocations: 11.92 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.7675, allocations: 4 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.7675, allocations: 7.984 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.7676, allocations: 83.28 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7676, allocations: 4 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000193/0.7678, allocations: 8 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003564/0.7681, allocations: 0.6475 MB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.7682, allocations: 39.92 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7682, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.7683, allocations: 19.98 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.7684, allocations: 6.062 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.7695, allocations: 1.262 MB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.7695, allocations: 71.28 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.7696, allocations: 8 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.7696, allocations: 23.34 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of SimCode: time 7.71e-07/0.7696, allocations: 0 / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.8745, allocations: 2.087 MB / 1.361 GB, free: 8.672 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/8.263, allocations: 14.38 kB / 1.361 GB, free: 8.664 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.242995855398476]