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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 183.9 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008451, allocations: 99.64 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 7.188 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.3979, allocations: 151.1 MB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3982, allocations: 79.95 kB / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003261/0.4015, allocations: 1.162 MB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4015, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.4015, allocations: 7.938 kB / 1.378 GB, free: 1.086 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003647/0.4019, allocations: 347.3 kB / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4019, allocations: 12.03 kB / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.402, allocations: 30.56 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.402, allocations: 3.906 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4022, allocations: 175 kB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4022, allocations: 0 / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4022, allocations: 4 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4023, allocations: 57.62 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4023, allocations: 0 / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4024, allocations: 0 / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4024, allocations: 3.984 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.4024, allocations: 27.98 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4028, allocations: 284.7 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.4031, allocations: 58.59 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4031, allocations: 4 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4031, allocations: 34.69 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.4031, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0001873/0.4033, allocations: 73.7 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4034, allocations: 55.41 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.4034, allocations: 97 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4035, allocations: 25.7 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.4035, allocations: 87.98 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4035, allocations: 19.8 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.4036, allocations: 0 / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.4037, allocations: 310.8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.4037, allocations: 11.98 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.4037, allocations: 12 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.4037, allocations: 8 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4037, allocations: 4 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.919e-05/0.4038, allocations: 61.62 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4039, allocations: 5.875 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4039, allocations: 3.938 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4039, allocations: 0 / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.404, allocations: 12.42 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.404, allocations: 3.953 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.404, allocations: 4 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.404, allocations: 11.94 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.166e-05/0.4041, allocations: 112.5 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4041, allocations: 7.906 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.4043, allocations: 89.11 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4043, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4043, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4043, allocations: 8.125 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4045, allocations: 173.6 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4045, allocations: 7.984 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.4046, allocations: 8 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4046, allocations: 4 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4046, allocations: 8 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4046, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4046, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.4047, allocations: 179.3 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.4048, allocations: 77.11 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4048, allocations: 0 / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.4049, allocations: 4 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.4049, allocations: 7.984 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4049, allocations: 4 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.4049, allocations: 79.28 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4049, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002061/0.4052, allocations: 8 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0004322/0.4056, allocations: 0.7201 MB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.4057, allocations: 31.98 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4057, allocations: 0 / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.4058, allocations: 23.94 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.4059, allocations: 5.125 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.4066, allocations: 424.4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.4068, allocations: 0.6887 MB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.4069, allocations: 4 kB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.4069, allocations: 23.42 kB / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4069, allocations: 0 / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.4176, allocations: 1.172 MB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.4178, allocations: 200.7 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/1.848, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 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) 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