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.001256/0.001256, allocations: 103.3 kB / 16.4 MB, free: 6.488 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.001264/0.001264, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.505/1.505, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.557/2.557, allocations: 437.1 MB / 0.7171 GB, free: 4.117 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.003255/0.003255, allocations: 71.89 kB / 1.027 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.043, allocations: 151.6 MB / 1.175 GB, free: 17.53 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002884/1.046, allocations: 1.606 MB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/1.047, allocations: 0.543 MB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/1.047, allocations: 0.9375 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/1.047, allocations: 10.27 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/1.047, allocations: 37.92 kB / 1.177 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/1.048, allocations: 44.94 kB / 1.177 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/1.048, allocations: 114.9 kB / 1.177 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/1.048, allocations: 19.23 kB / 1.177 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/1.048, allocations: 41.53 kB / 1.177 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/1.048, allocations: 56.97 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/1.048, allocations: 8.188 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/1.048, allocations: 9.312 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/1.048, allocations: 23.97 kB / 1.177 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/1.048, allocations: 47.27 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/1.048, allocations: 91.84 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.049, allocations: 4 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.604e-06/1.049, allocations: 0 / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.117e-05/1.049, allocations: 0 / 1.177 GB, free: 15.78 MB / 0.92 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.0006835/1.049, allocations: 404.3 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.049, allocations: 10.69 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/1.049, allocations: 39.34 kB / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/1.049, allocations: 8.422 kB / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/1.049, allocations: 190.4 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/1.05, allocations: 11.55 kB / 1.178 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.05, allocations: 4.688 kB / 1.178 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/1.05, allocations: 88.06 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.05, allocations: 0 / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.05, allocations: 5.531 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.05, allocations: 5.469 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/1.05, allocations: 45.14 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/1.05, allocations: 349.7 kB / 1.178 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/1.051, allocations: 105.6 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/1.051, allocations: 45.38 kB / 1.179 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/1.051, allocations: 1.281 kB / 1.179 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/1.051, allocations: 99.73 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/1.051, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003496/1.051, allocations: 153 kB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.051, allocations: 54.25 kB / 1.179 GB, free: 14.45 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/1.052, allocations: 123.6 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.052, allocations: 35.44 kB / 1.179 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/1.052, allocations: 94.08 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/1.052, allocations: 38.97 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/1.052, allocations: 28 kB / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/1.052, allocations: 320.3 kB / 1.179 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/1.052, allocations: 25.83 kB / 1.179 GB, free: 13.83 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/1.052, allocations: 32.53 kB / 1.179 GB, free: 13.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/1.052, allocations: 63.98 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.052, allocations: 4 kB / 1.18 GB, free: 13.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001881/1.052, allocations: 115.9 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/1.052, allocations: 7.906 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.052, allocations: 1.5 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.052, allocations: 0.5625 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/1.052, allocations: 17.56 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.052, allocations: 1.281 kB / 1.18 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.053, allocations: 15.81 kB / 1.18 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.053, allocations: 7.031 kB / 1.18 GB, free: 13.71 MB / 0.92 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 8.25e-05/1.053, allocations: 124.2 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/1.053, allocations: 7.203 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/1.053, allocations: 145.7 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.053, allocations: 1.906 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.053, allocations: 1.312 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.053, allocations: 4.641 kB / 1.18 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/1.053, allocations: 213.5 kB / 1.18 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.053, allocations: 0 / 1.18 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/1.053, allocations: 19.81 kB / 1.18 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.053, allocations: 4 kB / 1.18 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.053, allocations: 10.42 kB / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.053, allocations: 1.812 kB / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.053, allocations: 1.438 kB / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/1.054, allocations: 156.9 kB / 1.18 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/1.054, allocations: 89.25 kB / 1.18 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/1.054, allocations: 5.953 kB / 1.18 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.054, allocations: 11.78 kB / 1.18 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/1.054, allocations: 22.3 kB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/1.054, allocations: 9.188 kB / 1.181 GB, free: 13.04 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.154e-05/1.054, allocations: 97.69 kB / 1.181 GB, free: 12.96 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/1.054, allocations: 0 / 1.181 GB, free: 12.96 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002251/1.054, allocations: 19.03 kB / 1.181 GB, free: 12.96 MB / 0.92 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.0004549/1.055, allocations: 0.708 MB / 1.181 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002159/1.055, allocations: 87.5 kB / 1.181 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.055, allocations: 0 / 1.181 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/1.055, allocations: 55.47 kB / 1.181 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.055, allocations: 10.2 kB / 1.181 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.056, allocations: 1.457 MB / 1.183 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.057, allocations: 0.6998 MB / 1.184 GB, free: 10.31 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.623e-05/1.057, allocations: 9.031 kB / 1.184 GB, free: 10.31 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/1.057, allocations: 29.88 kB / 1.184 GB, free: 10.29 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/1.057, allocations: 0 / 1.184 GB, free: 10.29 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/1.084, allocations: 2.305 MB / 1.186 GB, free: 9.883 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/9.026, allocations: 14.88 kB / 1.186 GB, free: 9.871 MB / 0.92 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.933345713885501]