Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001899/0.001899, allocations: 109.5 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002228/0.002228, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7916 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.5 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002851/0.3299, allocations: 1.63 MB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.331, allocations: 0.6076 MB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.331, allocations: 3.938 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.331, allocations: 7.922 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3313, allocations: 39.7 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.3315, allocations: 47.88 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3316, allocations: 107.7 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3317, allocations: 15.92 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3319, allocations: 63.77 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.332, allocations: 47.83 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.332, allocations: 8 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.3321, allocations: 15.98 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.3321, allocations: 23.91 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.3322, allocations: 47.73 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3324, allocations: 103.7 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3324, allocations: 3.938 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3324, allocations: 4 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3324, allocations: 0 / 1.324 GB, free: 0.5547 MB / 1.014 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.0007965/0.3332, allocations: 407 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3332, allocations: 15.98 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3333, allocations: 30.75 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3334, allocations: 24.88 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3336, allocations: 180.3 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3337, allocations: 12.31 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3337, allocations: 4.375 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3339, allocations: 85.77 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3339, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3339, allocations: 4 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3339, allocations: 4 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.334, allocations: 47.2 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.3346, allocations: 348.6 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3349, allocations: 94.72 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.335, allocations: 44.72 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.335, allocations: 7.984 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.3352, allocations: 103.3 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3352, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000352/0.3356, allocations: 145.5 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3356, allocations: 59.34 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3357, allocations: 129.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3358, allocations: 25.7 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.3358, allocations: 92.33 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.3359, allocations: 35.88 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.3359, allocations: 29.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3361, allocations: 318.8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.3361, allocations: 31.98 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.3362, allocations: 24 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3363, allocations: 71.78 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3363, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001913/0.3365, allocations: 109.6 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3365, allocations: 7.938 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3365, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3366, allocations: 8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3367, allocations: 15.98 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3367, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3368, allocations: 23.81 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3368, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 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.0001031/0.3369, allocations: 121.8 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.3369, allocations: 7.953 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.3372, allocations: 146 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3372, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3372, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3372, allocations: 3.938 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3374, allocations: 213.6 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3374, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.3375, allocations: 19.98 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3375, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3375, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3375, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3375, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3378, allocations: 180.2 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3379, allocations: 85 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3379, allocations: 8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.338, allocations: 11.92 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.338, allocations: 15.92 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3381, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.3381, allocations: 99.27 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3381, allocations: 4 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00021/0.3383, allocations: 23.94 kB / 1.327 GB, free: 12.79 MB / 1.029 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.0005901/0.3389, allocations: 0.6983 MB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3391, allocations: 83.91 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3391, allocations: 0 / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.3392, allocations: 43.98 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.3394, allocations: 15.92 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3411, allocations: 1.469 MB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3414, allocations: 0.7039 MB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.313e-05/0.3414, allocations: 12.55 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.3415, allocations: 33.05 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3415, allocations: 0 / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3691, allocations: 2.323 MB / 1.332 GB, free: 7.426 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.288, allocations: 3.984 kB / 1.332 GB, free: 7.422 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.842551508918405]