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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.0008042/0.0008045, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008777/0.0008778, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.127/2.127, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002774, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4901, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001371/0.4915, allocations: 1.299 MB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006593/0.4921, allocations: 0.4952 MB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.4922, allocations: 4 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.4922, allocations: 11.92 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.4924, allocations: 31.84 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.812e-05/0.4925, allocations: 31.89 kB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4926, allocations: 95.64 kB / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.4927, allocations: 23.97 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.4928, allocations: 39.86 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.4929, allocations: 43.81 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.4929, allocations: 4 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.4929, allocations: 7.938 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.493, allocations: 15.92 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.493, allocations: 37.69 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.4931, allocations: 66.06 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4931, allocations: 4 kB / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4931, allocations: 0 / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.4931, allocations: 4 kB / 0.9833 GB, free: 4.043 MB / 0.7325 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.0005352/0.4936, allocations: 387.1 kB / 0.9837 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.4937, allocations: 8.031 kB / 0.9837 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.4937, allocations: 46.48 kB / 0.9837 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.4938, allocations: 11.91 kB / 0.9837 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4939, allocations: 182.9 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4939, allocations: 4 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.4939, allocations: 4 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4941, allocations: 87.14 kB / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.4941, allocations: 0 / 0.984 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4941, allocations: 8 kB / 0.984 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4941, allocations: 0 / 0.984 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.4942, allocations: 47.91 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.4946, allocations: 352.6 kB / 0.9844 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.4949, allocations: 106.7 kB / 0.9845 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.4949, allocations: 44.78 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.495, allocations: 4 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.4951, allocations: 91.34 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.467e-06/0.4951, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002623/0.4954, allocations: 149.4 kB / 0.9848 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4954, allocations: 55.41 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.4955, allocations: 126.2 kB / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4955, allocations: 29.7 kB / 0.985 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.4956, allocations: 100.3 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4956, allocations: 27.7 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.4956, allocations: 4 kB / 0.9851 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.4957, allocations: 326.8 kB / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.4958, allocations: 23.98 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.4958, allocations: 31.98 kB / 0.9855 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.4959, allocations: 26.94 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4959, allocations: 0 / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001546/0.4961, allocations: 113.5 kB / 0.9856 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4961, allocations: 8.938 kB / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4961, allocations: 0 / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.4961, allocations: 0 / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.4962, allocations: 23.98 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.4962, allocations: 0 / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.4963, allocations: 11.98 kB / 0.9856 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.4963, allocations: 0 / 0.9856 GB, free: 1.422 MB / 0.7325 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 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.4964, allocations: 133.7 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.4964, allocations: 11.91 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.4966, allocations: 146 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4967, allocations: 4 kB / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4967, allocations: 0 / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4967, allocations: 0 / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4968, allocations: 217.5 kB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4968, allocations: 0 / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.4969, allocations: 19.92 kB / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4969, allocations: 0 / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4969, allocations: 12 kB / 0.9862 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4969, allocations: 4 kB / 0.9862 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.497, allocations: 0 / 0.9862 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.4971, allocations: 161 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.4972, allocations: 89 kB / 0.9864 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4972, allocations: 3.938 kB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.4973, allocations: 12 kB / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.4974, allocations: 15.97 kB / 0.9864 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4974, allocations: 8 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.4974, allocations: 95.27 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4974, allocations: 0 / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001844/0.4976, allocations: 27.94 kB / 0.9865 GB, free: 384 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004382/0.4981, allocations: 0.7047 MB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.4982, allocations: 91.84 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.4982, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.4983, allocations: 47.92 kB / 0.9874 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.4985, allocations: 9.719 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.4993, allocations: 0.6277 MB / 0.988 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4995, allocations: 0.7004 MB / 0.9887 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.4995, allocations: 16.55 kB / 0.9887 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.4996, allocations: 27.48 kB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.4996, allocations: 0 / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4063/0.9059, allocations: 2.029 MB / 0.9907 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.9061, allocations: 215.2 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.73, allocations: 6.438 kB / 0.9909 GB, free: 11.97 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat does not exist to compare? outputFormat=mat