Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 443.5 MB / 0.7304 GB, free: 13.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 1.059 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 160.7 MB / 1.216 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002832/0.2574, allocations: 1.61 MB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.2584, allocations: 0.562 MB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.2584, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.2585, allocations: 11.86 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.2587, allocations: 35.77 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.2589, allocations: 47.88 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.259, allocations: 111.6 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2591, allocations: 24.2 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2592, allocations: 43.84 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2594, allocations: 55.75 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2594, allocations: 8 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.2594, allocations: 8 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.2594, allocations: 15.98 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.2595, allocations: 51.77 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2596, allocations: 91.62 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2596, allocations: 0 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2596, allocations: 0 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2596, allocations: 4 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007105/0.2604, allocations: 403.1 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2604, allocations: 8.031 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.2604, allocations: 46.73 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2605, allocations: 8.891 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2606, allocations: 184.2 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2606, allocations: 4.375 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2607, allocations: 8.375 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2609, allocations: 88.16 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2609, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2609, allocations: 4 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2609, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.261, allocations: 55.84 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.2615, allocations: 336.7 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2618, allocations: 102.7 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.2619, allocations: 36.84 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2619, allocations: 7.984 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.2621, allocations: 103.2 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.2621, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003196/0.2625, allocations: 145.9 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2625, allocations: 55.41 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2626, allocations: 129.8 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2626, allocations: 29.7 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.2627, allocations: 96.41 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.2627, allocations: 35.69 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.2628, allocations: 37.64 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2629, allocations: 322.8 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.263, allocations: 23.98 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.263, allocations: 32 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.2631, allocations: 64.78 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2631, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/0.2633, allocations: 109.2 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2633, allocations: 9.562 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2633, allocations: 8 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2634, allocations: 3.984 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.2635, allocations: 20 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2635, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2636, allocations: 11.92 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2636, allocations: 4 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,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 (13): * Single equations (assignments): 13 * 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 9.299e-05/0.2637, allocations: 125.8 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2637, allocations: 7.953 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.264, allocations: 146 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.264, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.264, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.264, allocations: 7.938 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.2642, allocations: 209.5 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2642, allocations: 0 / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.2642, allocations: 23.92 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2642, allocations: 0 / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2643, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2643, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2643, allocations: 8 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2645, allocations: 165 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.2646, allocations: 85 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2646, allocations: 4 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2647, allocations: 11.98 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2647, allocations: 15.91 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2647, allocations: 11.88 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.2648, allocations: 103.3 kB / 1.221 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2648, allocations: 3.938 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001963/0.265, allocations: 24 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0005762/0.2656, allocations: 0.6905 MB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.2658, allocations: 87.66 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2658, allocations: 4 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.2659, allocations: 47.92 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.266, allocations: 11.94 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2675, allocations: 1.456 MB / 1.224 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2678, allocations: 0.6963 MB / 1.224 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.2679, allocations: 12.55 kB / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.268, allocations: 35.42 kB / 1.224 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.268, allocations: 0 / 1.224 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.2917, allocations: 2.281 MB / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.305, allocations: 0.5 kB / 1.227 GB, free: 4.004 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.516453685995657]