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.0008764/0.0008764, 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.0008449/0.0008449, allocations: 165.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.8728/0.8728, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.691/1.691, allocations: 377.8 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 2.875e-06/2.875e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.419e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00346/0.003494, allocations: 1.607 MB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.004555, allocations: 0.5648 MB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.004619, allocations: 4 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.004657, allocations: 15.86 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.004912, allocations: 39.66 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.005055, allocations: 51.8 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.005158, allocations: 119.6 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.005255, allocations: 16.22 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.005403, allocations: 71.86 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.00549, allocations: 51.88 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005512, allocations: 8 kB / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.005566, allocations: 19.98 kB / 0.9835 GB, free: 0 / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.005601, allocations: 24.03 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.005646, allocations: 35.91 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.005793, allocations: 119.6 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.005795, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005797, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005801, allocations: 3.938 kB / 0.9836 GB, free: 15.82 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.000496/0.006297, allocations: 345.9 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006333, allocations: 8.031 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.006364, allocations: 42.75 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.006475, allocations: 20.83 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.00657, allocations: 129.6 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.006584, allocations: 4.375 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.006598, allocations: 12.38 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.006729, allocations: 94.11 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006737, allocations: 8.125 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006748, allocations: 4.125 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006752, allocations: 0 / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.006841, allocations: 55.91 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.007277, allocations: 323.7 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.007491, allocations: 114.7 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.007542, allocations: 40.84 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.007558, allocations: 3.984 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.007739, allocations: 115.2 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.00774, allocations: 0 / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002483/0.007988, allocations: 164.6 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.008022, allocations: 55.41 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.008095, allocations: 129.8 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00811, allocations: 29.7 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.008147, allocations: 92.09 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.008176, allocations: 43.67 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.008215, allocations: 33.7 kB / 0.9854 GB, free: 13.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.00829, allocations: 326.8 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.00834, allocations: 39.92 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.008385, allocations: 39.98 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.008478, allocations: 83.75 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00848, allocations: 0 / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001401/0.008621, allocations: 137.7 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.008632, allocations: 4 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008637, allocations: 0 / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.008649, allocations: 4 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.008734, allocations: 23.92 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.00874, allocations: 0 / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.008798, allocations: 15.89 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.008808, allocations: 11.98 kB / 0.9861 GB, free: 13.12 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.694e-05/0.008885, allocations: 125.8 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.008896, allocations: 7.953 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.009098, allocations: 163.6 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.009104, allocations: 4 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.009109, allocations: 0 / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009112, allocations: 0 / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.009478, allocations: 425.3 kB / 0.9868 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.009482, allocations: 8 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.00953, allocations: 19.92 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.009534, allocations: 4 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.009544, allocations: 4 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009546, allocations: 3.938 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009547, allocations: 0 / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.009741, allocations: 249.6 kB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.009755, allocations: 11.89 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.009771, allocations: 4 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.009835, allocations: 8 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.00988, allocations: 15.91 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.009889, allocations: 12 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.009934, allocations: 95.27 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009934, allocations: 3.938 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001735/0.01011, allocations: 31.98 kB / 0.9872 GB, free: 11.88 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.0004049/0.01051, allocations: 0.7792 MB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01068, allocations: 102.1 kB / 0.9881 GB, free: 10.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01068, allocations: 0 / 0.9881 GB, free: 10.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.01074, allocations: 51.92 kB / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01091, allocations: 23.92 kB / 0.9882 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.01231, allocations: 1.608 MB / 0.9897 GB, free: 9.211 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.01236, allocations: 85.44 kB / 0.9898 GB, free: 9.102 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.01241, allocations: 16.97 kB / 0.9898 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.01247, allocations: 32.48 kB / 0.9899 GB, free: 9.055 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.01247, allocations: 0 / 0.9899 GB, free: 9.055 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.02662, allocations: 3.16 MB / 0.9929 GB, free: 6.047 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/6.884, allocations: 8.844 kB / 0.9929 GB, free: 6.043 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.785889689810574]