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.001798/0.001798, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.002473/0.002473, allocations: 220.5 kB / 22.25 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.781 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.141/3.141, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.002003/0.002003, allocations: 67.89 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.346, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002974/0.349, allocations: 1.6 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3501, allocations: 0.5648 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.3501, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.3502, allocations: 7.922 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.3504, allocations: 43.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3506, allocations: 47.89 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3508, allocations: 111.6 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3509, allocations: 15.92 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3511, allocations: 55.89 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3512, allocations: 51.77 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3512, allocations: 11.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.3513, allocations: 20 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.3513, allocations: 19.97 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.3514, allocations: 43.84 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3516, allocations: 95.56 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3516, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3516, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3516, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 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.0007787/0.3524, allocations: 330 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3524, allocations: 12.03 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.3525, allocations: 42.73 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3526, allocations: 16.88 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3528, allocations: 126.4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3528, allocations: 8.375 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3528, allocations: 4.375 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.353, allocations: 88.58 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.353, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.353, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.353, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3531, allocations: 55.84 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3536, allocations: 299.8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.354, allocations: 98.66 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.354, allocations: 36.84 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.354, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.3543, allocations: 99.28 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3543, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003664/0.3547, allocations: 149.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3547, allocations: 59.41 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3548, allocations: 125.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3549, allocations: 25.7 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.3549, allocations: 100.3 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.355, allocations: 31.88 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.355, allocations: 25.7 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3552, allocations: 322.8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.3553, allocations: 31.98 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.3553, allocations: 27.98 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3554, allocations: 61.97 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3555, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001957/0.3556, allocations: 123.2 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3557, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3557, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3557, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3558, allocations: 19.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3558, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3559, allocations: 19.83 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3559, allocations: 11.98 kB / 1.331 GB, free: 12.29 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.0001089/0.356, allocations: 118.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.3561, allocations: 11.95 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3564, allocations: 150 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3564, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3564, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3564, allocations: 7.922 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3565, allocations: 172.6 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3565, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.3566, allocations: 19.92 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3566, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3566, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3567, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3567, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3569, allocations: 164 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.3569, allocations: 19.83 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.357, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3571, allocations: 4 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.3571, allocations: 19.91 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3571, allocations: 7.938 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.3572, allocations: 99.2 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3572, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002048/0.3574, allocations: 27.94 kB / 1.332 GB, free: 11.39 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.0005959/0.358, allocations: 0.7022 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.3582, allocations: 83.91 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3582, allocations: 0 / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.3583, allocations: 47.92 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3585, allocations: 15.94 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3601, allocations: 1.45 MB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.044e-05/0.3602, allocations: 91.12 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.3603, allocations: 8.484 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.3604, allocations: 31.42 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3604, allocations: 0 / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3896, allocations: 2.877 MB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 5.125 kB / 1.337 GB, free: 6.09 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.167082439991646]