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.005687/0.005687, allocations: 103.5 kB / 15.73 MB, free: 5.996 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.001192/0.001192, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002585/0.2884, allocations: 1.604 MB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.2894, allocations: 0.538 MB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.2894, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.2895, allocations: 7.922 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.2898, allocations: 51.69 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.2899, allocations: 39.88 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.29, allocations: 107.6 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2901, allocations: 27.98 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2903, allocations: 51.77 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2904, allocations: 47.83 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2904, allocations: 8 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.2904, allocations: 12 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.2905, allocations: 23.91 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.2905, allocations: 47.78 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2907, allocations: 91.84 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2907, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2907, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2907, allocations: 4 kB / 1.21 GB, free: 7.531 MB / 0.9669 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.000665/0.2914, allocations: 407.1 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2914, allocations: 12.62 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.2915, allocations: 38.73 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.2915, allocations: 8.844 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2916, allocations: 184.2 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2917, allocations: 8.375 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2917, allocations: 8.375 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2918, allocations: 93.64 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2919, allocations: 0 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2919, allocations: 0 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2919, allocations: 4 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.292, allocations: 47.97 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.2925, allocations: 340.6 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.2928, allocations: 110.7 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.2928, allocations: 44.84 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2929, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.2931, allocations: 99.28 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2931, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003182/0.2934, allocations: 141.6 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2935, allocations: 55.34 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.2935, allocations: 130.1 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2936, allocations: 33.7 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.2936, allocations: 88.45 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.2937, allocations: 35.55 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.2937, allocations: 25.7 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.2938, allocations: 326.8 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.2939, allocations: 31.92 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/0.2939, allocations: 28 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.2941, allocations: 62.22 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2941, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001742/0.2942, allocations: 114.7 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2943, allocations: 4 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2943, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2943, allocations: 7.922 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2944, allocations: 27.94 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2944, allocations: 4 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2945, allocations: 15.83 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2946, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 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.062e-05/0.2946, allocations: 121.8 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.2947, allocations: 7.906 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.2949, allocations: 146.5 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2949, allocations: 4 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2949, allocations: 4 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.295, allocations: 7.922 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2951, allocations: 213.5 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2951, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.2952, allocations: 15.98 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2952, allocations: 3.938 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2952, allocations: 8 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2953, allocations: 0 / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2953, allocations: 0 / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2955, allocations: 171.2 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.2955, allocations: 85.02 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.2956, allocations: 0 / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.2957, allocations: 11.98 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2957, allocations: 15.92 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2957, allocations: 8 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.2958, allocations: 91.27 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2958, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002034/0.296, allocations: 27.91 kB / 1.213 GB, free: 3.773 MB / 0.9669 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.0004781/0.2965, allocations: 0.7061 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.2967, allocations: 82.84 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2967, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.2968, allocations: 51.92 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.297, allocations: 11.94 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2983, allocations: 1.455 MB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2986, allocations: 0.6963 MB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.189e-05/0.2986, allocations: 8.547 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.2987, allocations: 39.61 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2987, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.3179, allocations: 2.358 MB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.856, allocations: 7.922 kB / 1.218 GB, free: 14.38 MB / 0.9825 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/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) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/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