Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.453/2.453, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.47 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2334, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002508/0.236, allocations: 1.604 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.2368, allocations: 0.5392 MB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2368, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.2369, allocations: 7.922 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.2371, allocations: 39.72 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.2372, allocations: 39.88 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2373, allocations: 107.6 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.2374, allocations: 23.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.2375, allocations: 43.84 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.2377, allocations: 55.81 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2377, allocations: 8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.2377, allocations: 8 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2377, allocations: 23.91 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.2378, allocations: 43.73 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2379, allocations: 95.95 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2379, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2379, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2379, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 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.0006194/0.2386, allocations: 399.2 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2386, allocations: 12.03 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.2386, allocations: 34.75 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2387, allocations: 12.84 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2388, allocations: 188.2 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2388, allocations: 4.375 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2388, allocations: 4.375 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.239, allocations: 101.6 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.239, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.239, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.239, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2391, allocations: 49.09 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.2396, allocations: 344.6 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2399, allocations: 106.7 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.2399, allocations: 40.84 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.24, allocations: 4 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.2401, allocations: 107.2 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.2402, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0002847/0.2404, allocations: 141.5 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2405, allocations: 55.41 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.2406, allocations: 130.5 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2406, allocations: 25.7 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.2407, allocations: 108.3 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.2407, allocations: 35.53 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.2407, allocations: 25.72 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.2408, allocations: 318.8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.2409, allocations: 31.92 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.2409, allocations: 27.98 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.241, allocations: 60.84 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2411, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/0.2412, allocations: 115.6 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2412, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2413, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2413, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2414, allocations: 23.92 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2414, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2415, allocations: 11.94 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2415, allocations: 7.984 kB / 1.069 GB, free: 9.164 MB / 0.8262 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 7.6e-05/0.2416, allocations: 114.4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.2416, allocations: 11.91 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.2419, allocations: 146 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2419, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2419, allocations: 3.984 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2419, allocations: 3.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.242, allocations: 217.4 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.242, allocations: 3.938 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.2421, allocations: 12 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2421, allocations: 0 / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.2422, allocations: 11.98 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2422, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2422, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.2424, allocations: 175.9 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2424, allocations: 85.02 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2425, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2426, allocations: 15.98 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.2426, allocations: 15.92 kB / 1.069 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2426, allocations: 11.98 kB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.2427, allocations: 103.3 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.2429, allocations: 20 kB / 1.07 GB, free: 8.129 MB / 0.8262 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.000445/0.2433, allocations: 0.7021 MB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.2435, allocations: 95.89 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2435, allocations: 0 / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.2436, allocations: 47.98 kB / 1.07 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.2438, allocations: 7.938 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2451, allocations: 1.457 MB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.2453, allocations: 0.7039 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.2454, allocations: 12.55 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.2454, allocations: 31.42 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2454, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.2609, allocations: 2.254 MB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.878, allocations: 16.92 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches