Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008498/0.0008498, 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.001023/0.001023, 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.9347/0.9347, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.926e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002476/0.002495, allocations: 1.494 MB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.003246, allocations: 478.7 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.003296, allocations: 0 / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.003327, allocations: 3.938 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.003562, allocations: 31.78 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.307e-05/0.003645, allocations: 19.92 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.003737, allocations: 59.72 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.003831, allocations: 8 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.004017, allocations: 35.95 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.004091, allocations: 23.91 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.004107, allocations: 4 kB / 0.9831 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.004117, allocations: 4 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.004137, allocations: 11.98 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.004177, allocations: 15.92 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.004277, allocations: 55.8 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004281, allocations: 3.984 kB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004282, allocations: 0 / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004286, allocations: 7.938 kB / 0.9832 GB, free: 332 kB / 0.9323 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.000472/0.004758, allocations: 274.3 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004798, allocations: 12.03 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.004843, allocations: 34.75 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.004871, allocations: 8.875 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.004961, allocations: 113.7 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004975, allocations: 4.375 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.004985, allocations: 4.375 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.005083, allocations: 54.23 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005091, allocations: 4.188 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.0051, allocations: 4.125 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005105, allocations: 7.922 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.005151, allocations: 23.92 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.005478, allocations: 243.9 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.005582, allocations: 54.5 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.005609, allocations: 16.98 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005619, allocations: 4 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.005765, allocations: 75.31 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.005767, allocations: 4 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.000163/0.00593, allocations: 81.69 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.005962, allocations: 55.41 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.006023, allocations: 113.8 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006034, allocations: 29.7 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.006069, allocations: 88.12 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.006089, allocations: 15.84 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.006119, allocations: 21.72 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.006193, allocations: 322.8 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.006219, allocations: 12 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.006241, allocations: 20.28 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.006296, allocations: 44.86 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006298, allocations: 3.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.203e-05/0.00638, allocations: 77.7 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006393, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.006397, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.006407, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.006472, allocations: 15.92 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.006477, allocations: 3.938 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.006511, allocations: 4 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.006518, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 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.464e-05/0.006582, allocations: 121.8 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.006596, allocations: 11.94 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.006617, allocations: 8.438 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006619, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.006622, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006626, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.00672, allocations: 140.7 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006721, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.006739, allocations: 7.984 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006741, allocations: 3.938 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.006749, allocations: 8 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006751, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006752, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.006849, allocations: 105.2 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.006866, allocations: 19.88 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.006878, allocations: 0 / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.006907, allocations: 4 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.006937, allocations: 7.984 kB / 0.9854 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006941, allocations: 4 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.006975, allocations: 91.27 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006975, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001246/0.007099, allocations: 12 kB / 0.9855 GB, free: 13.7 MB / 0.948 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.000279/0.007378, allocations: 0.6402 MB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.007484, allocations: 39.98 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007486, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.007518, allocations: 19.94 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.00763, allocations: 4 kB / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.008451, allocations: 1.251 MB / 0.9874 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.008493, allocations: 67.34 kB / 0.9874 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.008521, allocations: 7.984 kB / 0.9874 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.008559, allocations: 16.5 kB / 0.9875 GB, free: 11.53 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/0.00856, allocations: 0 / 0.9875 GB, free: 11.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.02282, allocations: 2.245 MB / 0.9896 GB, free: 9.445 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.855, allocations: 8.812 kB / 0.9897 GB, free: 9.441 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable locTim.cloTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.097609084099531]