Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8151, allocations: 160.7 MB / 1.213 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004077/0.8192, allocations: 1.611 MB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.8209, allocations: 0.5418 MB / 1.215 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.821, allocations: 5.094 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.8211, allocations: 7.922 kB / 1.215 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.8215, allocations: 42.52 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.8217, allocations: 38.42 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.822, allocations: 112.9 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.8222, allocations: 21.38 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.8224, allocations: 40.06 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.8226, allocations: 60.91 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.8226, allocations: 7.562 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/0.8226, allocations: 8.188 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.8227, allocations: 15.08 kB / 1.215 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.8228, allocations: 53.12 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.823, allocations: 94.39 kB / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8231, allocations: 0 / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8231, allocations: 0 / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8231, allocations: 0.8438 kB / 1.216 GB, free: 1.902 MB / 0.92 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.001157/0.8242, allocations: 409.2 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.8243, allocations: 10 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.72e-05/0.8244, allocations: 37.38 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.8244, allocations: 13.47 kB / 1.216 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.8247, allocations: 182.8 kB / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.8247, allocations: 11.59 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.8247, allocations: 9.344 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.825, allocations: 88.8 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.825, allocations: 0 / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.825, allocations: 1.031 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.825, allocations: 2.125 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.8252, allocations: 48.41 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.8261, allocations: 349 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.8265, allocations: 98.05 kB / 1.217 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.8267, allocations: 42.89 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.8267, allocations: 1.156 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.827, allocations: 96.33 kB / 1.217 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 3.056e-06/0.827, allocations: 1.25 kB / 1.217 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005438/0.8276, allocations: 149.4 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.8277, allocations: 60.66 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.8278, allocations: 131.3 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.8279, allocations: 26.77 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.828, allocations: 95.61 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.828, allocations: 36.39 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.8281, allocations: 28.89 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.8283, allocations: 316.8 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.8284, allocations: 27.14 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.8285, allocations: 31.42 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.8288, allocations: 63.22 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8288, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003394/0.8291, allocations: 113.9 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8291, allocations: 8.875 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8291, allocations: 0 / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8291, allocations: 1.094 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.8293, allocations: 18.58 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8293, allocations: 1.219 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8295, allocations: 24.48 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.8295, allocations: 2.281 kB / 1.218 GB, free: 15.66 MB / 0.9356 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.0001583/0.8296, allocations: 114.4 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.8297, allocations: 12.64 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.8301, allocations: 150.6 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.8301, allocations: 1.094 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.8301, allocations: 5.062 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.8301, allocations: 3.938 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.8304, allocations: 216.2 kB / 1.218 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8304, allocations: 1.156 kB / 1.218 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.8305, allocations: 16.55 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.8306, allocations: 4.922 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.8306, allocations: 1.188 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.8306, allocations: 4.906 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8306, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.831, allocations: 167.3 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.8311, allocations: 100.3 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.8312, allocations: 1.281 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.8313, allocations: 8.062 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.8314, allocations: 17.44 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.8314, allocations: 4.156 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001053/0.8315, allocations: 98.64 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8315, allocations: 0 / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003707/0.8319, allocations: 24.28 kB / 1.219 GB, free: 14.84 MB / 0.9356 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.001093/0.833, allocations: 0.7037 MB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.8333, allocations: 87.55 kB / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8333, allocations: 0 / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8335, allocations: 42.64 kB / 1.22 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.8338, allocations: 10.22 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.8365, allocations: 1.458 MB / 1.221 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.8371, allocations: 0.7022 MB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.392e-05/0.8372, allocations: 6.812 kB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.8373, allocations: 33.89 kB / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.8373, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.8756, allocations: 2.314 MB / 1.224 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.764, allocations: 13.02 kB / 1.224 GB, free: 10.89 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.478761264123023]