Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001016/0.001016, 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.00157/0.00157, 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.9386/0.9386, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.769/1.769, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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.SolarTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.288e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002056/0.002079, allocations: 1.607 MB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.002825, allocations: 0.557 MB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.002873, allocations: 0 / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.002904, allocations: 11.92 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.003135, allocations: 43.64 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003274, allocations: 51.81 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003379, allocations: 123.5 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003486, allocations: 16.2 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.003648, allocations: 71.88 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/0.003745, allocations: 51.8 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003769, allocations: 16 kB / 0.9835 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.003823, allocations: 16 kB / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.003858, allocations: 23.98 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.003914, allocations: 39.83 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.004084, allocations: 115.6 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004086, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004088, allocations: 4 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.004093, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006261/0.004719, allocations: 337.9 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.004764, allocations: 12.03 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.004795, allocations: 34.75 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.004912, allocations: 28.83 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.005014, allocations: 129.6 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.005032, allocations: 12.36 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.005046, allocations: 4.375 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.005182, allocations: 94.11 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005189, allocations: 4.188 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005202, allocations: 12.12 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005207, allocations: 0 / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.005292, allocations: 47.97 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.005718, allocations: 327.7 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.005936, allocations: 114.7 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.005991, allocations: 48.84 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.006004, allocations: 3.938 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.006188, allocations: 108.7 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.006189, allocations: 4 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002598/0.006449, allocations: 165.3 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.006485, allocations: 51.41 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.006556, allocations: 129.8 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006572, allocations: 33.69 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.006612, allocations: 92.09 kB / 0.9854 GB, free: 13.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.006643, allocations: 43.67 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.006683, allocations: 33.7 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.006754, allocations: 326.8 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.006807, allocations: 35.98 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.006852, allocations: 39.98 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.006947, allocations: 87.81 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006949, allocations: 0 / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001351/0.007084, allocations: 129.7 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.007096, allocations: 4 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.0071, allocations: 0 / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007113, allocations: 3.984 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.007183, allocations: 27.92 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.00719, allocations: 4 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.007243, allocations: 11.89 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.007253, allocations: 12 kB / 0.9861 GB, free: 13.14 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: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.15e-05/0.007324, allocations: 125.7 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.007335, allocations: 11.89 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.007524, allocations: 159.7 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007526, allocations: 0 / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.007531, allocations: 4 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007536, allocations: 3.984 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.007889, allocations: 425.3 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007891, allocations: 0 / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.007934, allocations: 24 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007936, allocations: 0 / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.007948, allocations: 11.98 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007949, allocations: 0 / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.007949, allocations: 0 / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.008124, allocations: 249.5 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008136, allocations: 11.91 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.008156, allocations: 11.98 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.008217, allocations: 4 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.008258, allocations: 19.91 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.008266, allocations: 8 kB / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.008309, allocations: 99.27 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008309, allocations: 3.938 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001641/0.008473, allocations: 24 kB / 0.9872 GB, free: 11.89 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: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003514/0.008824, allocations: 0.7893 MB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.008976, allocations: 95.86 kB / 0.9881 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.008978, allocations: 0 / 0.9881 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.009037, allocations: 51.92 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.009193, allocations: 11.94 kB / 0.9882 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.01032, allocations: 1.616 MB / 0.9897 GB, free: 9.223 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.01037, allocations: 89.44 kB / 0.9898 GB, free: 9.109 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.01041, allocations: 8.984 kB / 0.9898 GB, free: 9.102 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.01046, allocations: 32.48 kB / 0.9899 GB, free: 9.07 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.01046, allocations: 0 / 0.9899 GB, free: 9.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.02582, allocations: 3.168 MB / 0.9929 GB, free: 6.055 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.965, allocations: 3.25 kB / 0.993 GB, free: 6.055 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.765 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solTim.solTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.265417655929923]