Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_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.01145/0.01145, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002388/0.002388, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.34/2.34, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.723/3.723, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 71.88 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.05, allocations: 140.4 MB / 1.087 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004998/1.055, allocations: 1.606 MB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001557/1.056, allocations: 0.5447 MB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/1.056, allocations: 0.7812 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.15e-05/1.057, allocations: 9.656 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005148/1.057, allocations: 46.31 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/1.057, allocations: 37.84 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/1.058, allocations: 110 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/1.058, allocations: 19.73 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/1.058, allocations: 50.55 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/1.058, allocations: 56.72 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/1.058, allocations: 8.156 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/1.059, allocations: 7.875 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/1.059, allocations: 20.7 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/1.059, allocations: 46.31 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/1.059, allocations: 96.36 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.689e-06/1.059, allocations: 1.734 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/1.059, allocations: 0 / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.335e-05/1.059, allocations: 0 / 1.09 GB, free: 3.406 MB / 0.8575 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.001014/1.06, allocations: 407.4 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.554e-05/1.06, allocations: 9.781 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/1.06, allocations: 38.88 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/1.06, allocations: 9.984 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/1.061, allocations: 177.5 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/1.061, allocations: 7.438 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/1.061, allocations: 5.078 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/1.061, allocations: 89.72 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.061, allocations: 3.938 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/1.061, allocations: 5.562 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.061, allocations: 2.25 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/1.061, allocations: 47.19 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/1.062, allocations: 345 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/1.063, allocations: 110.6 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/1.063, allocations: 41.27 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.063, allocations: 5 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/1.063, allocations: 100.4 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/1.063, allocations: 0 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005203/1.064, allocations: 148.8 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/1.064, allocations: 56.98 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.064, allocations: 128.6 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/1.064, allocations: 27.17 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/1.064, allocations: 92.98 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/1.064, allocations: 35.3 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/1.064, allocations: 24.44 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.064, allocations: 320.2 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/1.064, allocations: 29.75 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/1.065, allocations: 35.77 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/1.065, allocations: 65.86 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.065, allocations: 0 / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002437/1.065, allocations: 111.6 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.065, allocations: 9.156 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.065, allocations: 0.7031 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.065, allocations: 1.688 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.065, allocations: 21.62 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.065, allocations: 0.75 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.065, allocations: 22.94 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.065, allocations: 7.656 kB / 1.092 GB, free: 1.336 MB / 0.8575 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 0.0001047/1.066, allocations: 120.1 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/1.066, allocations: 7.688 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/1.066, allocations: 148.3 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.066, allocations: 1.875 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.066, allocations: 0.5156 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.066, allocations: 5.438 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/1.066, allocations: 217 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.066, allocations: 0.9062 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.502e-05/1.066, allocations: 18.27 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.066, allocations: 1.219 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.066, allocations: 2.016 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.066, allocations: 1.703 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.066, allocations: 1.094 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/1.067, allocations: 161.3 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/1.067, allocations: 93.69 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/1.067, allocations: 5.625 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.067, allocations: 6.609 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/1.067, allocations: 22.67 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.067, allocations: 4.859 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.853e-05/1.067, allocations: 98.05 kB / 1.093 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.067, allocations: 0.5938 kB / 1.093 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002325/1.067, allocations: 23.73 kB / 1.093 GB, free: 0.5898 MB / 0.8575 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.000759/1.068, allocations: 0.701 MB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002748/1.068, allocations: 82.69 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.068, allocations: 0.7188 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/1.069, allocations: 58.53 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/1.069, allocations: 15.22 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/1.071, allocations: 1.444 MB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/1.072, allocations: 0.6996 MB / 1.096 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.243e-05/1.072, allocations: 9.828 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.072, allocations: 29.58 kB / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.705e-06/1.072, allocations: 4 kB / 1.096 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5819/1.654, allocations: 2.332 MB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/14.34, allocations: 20.89 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches