Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001408/0.001408, allocations: 109 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.001428/0.001428, 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7526, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002115/0.7547, allocations: 1.627 MB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.7554, allocations: 0.5495 MB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.7555, allocations: 0.875 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.7555, allocations: 6.516 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.7557, allocations: 53.41 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.7558, allocations: 34.38 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.756, allocations: 114.1 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.756, allocations: 21.17 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.458e-05/0.7561, allocations: 46.53 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.7562, allocations: 48.52 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.7562, allocations: 8.906 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.7563, allocations: 7.688 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.7563, allocations: 20.45 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.7563, allocations: 58.27 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.7564, allocations: 88.36 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7565, allocations: 0.875 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7565, allocations: 0 / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.7565, allocations: 3.938 kB / 1.274 GB, free: 5.988 MB / 0.9981 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.0005482/0.757, allocations: 400.6 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.757, allocations: 13.56 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.7571, allocations: 39.28 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.7571, allocations: 8.766 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.7572, allocations: 184.3 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7572, allocations: 4.719 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.7572, allocations: 8.375 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.7574, allocations: 89.81 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7574, allocations: 0 / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7574, allocations: 1.125 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7574, allocations: 1.719 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.7575, allocations: 56.14 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.7579, allocations: 349.8 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.7581, allocations: 96.69 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.7582, allocations: 41.64 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.7582, allocations: 4.938 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.7584, allocations: 93.81 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7584, allocations: 0 / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002819/0.7586, allocations: 152.9 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.7587, allocations: 59.55 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.7587, allocations: 127.3 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.7587, allocations: 26.33 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.7588, allocations: 97.62 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.7588, allocations: 35.56 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.7588, allocations: 28 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.7589, allocations: 319.9 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.7589, allocations: 26.7 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.759, allocations: 26.91 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.7591, allocations: 64.58 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7591, allocations: 0 / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001596/0.7592, allocations: 112.3 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7593, allocations: 8.656 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7593, allocations: 0.9375 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7593, allocations: 0.9688 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.7594, allocations: 21.36 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7594, allocations: 0.9375 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/0.7595, allocations: 16.56 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.7595, allocations: 5.969 kB / 1.276 GB, free: 3.93 MB / 0.9981 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 5.532e-05/0.7595, allocations: 118.8 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.7596, allocations: 15.27 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.7598, allocations: 150.5 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7598, allocations: 5.062 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7598, allocations: 0.5938 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7598, allocations: 9.5 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.7599, allocations: 217.8 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7599, allocations: 0 / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.76, allocations: 14.94 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.76, allocations: 1.062 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.76, allocations: 7.594 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.76, allocations: 1.031 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.76, allocations: 0 / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.7602, allocations: 170.9 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.7602, allocations: 87.94 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.7602, allocations: 3.125 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.7603, allocations: 10.88 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.7604, allocations: 14 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7604, allocations: 8.203 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.7604, allocations: 100.8 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7604, allocations: 0 / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001945/0.7606, allocations: 23.41 kB / 1.277 GB, free: 3.168 MB / 0.9981 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.0003526/0.761, allocations: 0.6962 MB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.7612, allocations: 87.08 kB / 1.278 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.7612, allocations: 0 / 1.278 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.7613, allocations: 44.42 kB / 1.278 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7614, allocations: 10.59 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.7625, allocations: 1.474 MB / 1.28 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.7628, allocations: 0.7001 MB / 1.28 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.987e-05/0.7628, allocations: 11.33 kB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.7629, allocations: 35.38 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.7629, allocations: 0 / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.7869, allocations: 2.293 MB / 1.283 GB, free: 16.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.852, allocations: 10.86 kB / 1.283 GB, free: 16.06 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.264960020002036]