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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007774/0.0007774, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9044/0.9044, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.287e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00208/0.002102, allocations: 1.583 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.002887, allocations: 0.5687 MB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.002935, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002965, allocations: 11.81 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.003208, allocations: 47.62 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.003346, allocations: 51.81 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003452, allocations: 123.5 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003555, allocations: 16.23 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.003718, allocations: 71.86 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.003808, allocations: 47.88 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003827, allocations: 8 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.003878, allocations: 19.98 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.003901, allocations: 23.91 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.003944, allocations: 39.89 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004104, allocations: 119.6 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004107, allocations: 4 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004109, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004113, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005427/0.004655, allocations: 351.7 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.004694, allocations: 8.75 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.004728, allocations: 42.73 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.004841, allocations: 16.89 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004944, allocations: 125.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.004961, allocations: 4.375 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.004976, allocations: 12.38 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.005112, allocations: 94.11 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.00512, allocations: 4.172 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005131, allocations: 8.062 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.005135, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.005219, allocations: 53.69 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.005676, allocations: 311.8 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.005908, allocations: 130.6 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.005967, allocations: 44.97 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.005983, allocations: 0 / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.006172, allocations: 103.3 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.006173, allocations: 3.938 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002628/0.006436, allocations: 160.1 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.006476, allocations: 59.39 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.006547, allocations: 129.7 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.006562, allocations: 33.7 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.006603, allocations: 108 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.006634, allocations: 39.69 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.006676, allocations: 33.7 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.006822, allocations: 322.8 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.006882, allocations: 39.97 kB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.006927, allocations: 35.98 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.007027, allocations: 86.88 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007029, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001435/0.007173, allocations: 133.6 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.007185, allocations: 4 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00719, allocations: 0 / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007203, allocations: 8 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.007281, allocations: 23.92 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.007285, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.007341, allocations: 15.92 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.00735, allocations: 4 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,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 (18): * Single equations (assignments): 18 * 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.041e-05/0.00742, allocations: 127.3 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.007433, allocations: 11.91 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.007629, allocations: 161.9 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.007632, allocations: 8 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007637, allocations: 0 / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007641, allocations: 0 / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.008001, allocations: 422.7 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008003, allocations: 0 / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.008051, allocations: 19.92 kB / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008054, allocations: 4 kB / 1.005 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.008063, allocations: 3.984 kB / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.008065, allocations: 0 / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008065, allocations: 0 / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.008235, allocations: 265.6 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.008251, allocations: 15.89 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.008267, allocations: 4 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.008332, allocations: 15.92 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.00837, allocations: 15.91 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.008377, allocations: 4 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.008417, allocations: 99.27 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008417, allocations: 0 / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000167/0.008584, allocations: 28 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003743/0.008959, allocations: 0.7865 MB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.009125, allocations: 97.53 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009127, allocations: 0 / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.009191, allocations: 55.91 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.009358, allocations: 11.94 kB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.01054, allocations: 1.612 MB / 1.008 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.01059, allocations: 81.45 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.01064, allocations: 16.97 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.0107, allocations: 36.48 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.0107, allocations: 0 / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.02877, allocations: 3.163 MB / 1.012 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/6.605, allocations: 10.72 kB / 1.012 GB, free: 0.9805 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=172.765 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.609139891341329]