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.001273/0.001273, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.001639/0.001639, allocations: 173.2 kB / 23.24 MB, free: 1.328 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 1.06/1.06, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.806/1.806, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.954e-06/1.954e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.53e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002107/0.002132, allocations: 1.486 MB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.002808, allocations: 483.5 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.002856, allocations: 0 / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.002885, allocations: 11.81 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.003155, allocations: 27.84 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.4e-05/0.003239, allocations: 19.86 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.003326, allocations: 59.78 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.003425, allocations: 11.98 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.003611, allocations: 35.91 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.003685, allocations: 19.97 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.003702, allocations: 4 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.003714, allocations: 4 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003734, allocations: 15.92 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.003773, allocations: 15.98 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.95e-05/0.003872, allocations: 51.8 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003875, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003876, allocations: 8 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.003881, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 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.0004645/0.004345, allocations: 278.3 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.004391, allocations: 13.28 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.004427, allocations: 38.75 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.004457, allocations: 4.891 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.004557, allocations: 117.7 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.004574, allocations: 8.375 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.004585, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.00468, allocations: 58.23 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004687, allocations: 192 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.004697, allocations: 4.125 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004702, allocations: 0 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.004749, allocations: 23.98 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.005134, allocations: 243.9 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.005253, allocations: 50.52 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.005287, allocations: 20.97 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.005294, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.005465, allocations: 71.33 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.005466, allocations: 4 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002036/0.00567, allocations: 89.62 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.005712, allocations: 55.41 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.005785, allocations: 105.8 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.0058, allocations: 33.7 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.005846, allocations: 80.14 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.005871, allocations: 23.83 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.005907, allocations: 17.72 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.005996, allocations: 322.8 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.006029, allocations: 15.98 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.006052, allocations: 16 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.006116, allocations: 44.78 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.006119, allocations: 3.938 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.81e-05/0.006217, allocations: 81.64 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.006233, allocations: 8 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006237, allocations: 256 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006252, allocations: 3.984 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.006331, allocations: 12 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006336, allocations: 0 / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.006376, allocations: 3.984 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.006385, allocations: 11.94 kB / 1.005 GB, free: 9.242 MB / 0.9636 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 6.995e-05/0.006455, allocations: 117.8 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.006465, allocations: 3.953 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.00649, allocations: 12.44 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006492, allocations: 0 / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.006497, allocations: 0 / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.006502, allocations: 3.984 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.006599, allocations: 140.7 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.006601, allocations: 0 / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.006621, allocations: 4 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006622, allocations: 0 / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.006631, allocations: 4 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.006631, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006632, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.006755, allocations: 112.9 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.006768, allocations: 3.938 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.006783, allocations: 4 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.006816, allocations: 3.984 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.006849, allocations: 8 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.006854, allocations: 3.984 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.00689, allocations: 87.83 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00689, allocations: 4 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001321/0.007022, allocations: 12 kB / 1.005 GB, free: 8.656 MB / 0.9636 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.0002874/0.00731, allocations: 0.6397 MB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.007415, allocations: 44.05 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007416, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.007447, allocations: 19.92 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.007566, allocations: 11.94 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.008547, allocations: 1.265 MB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.00859, allocations: 71.28 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.008616, allocations: 4 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.008666, allocations: 20.48 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.008666, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08718/0.09585, allocations: 2.233 MB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.003, allocations: 4.75 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.692657908424735]