Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000784/0.000784, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007892/0.0007892, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8671/0.8671, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.599/1.599, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.814e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002224/0.002243, allocations: 1.592 MB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.002944, allocations: 0.5808 MB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.002992, allocations: 0 / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.003024, allocations: 7.922 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.003251, allocations: 39.66 kB / 0.9527 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.003385, allocations: 47.81 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003498, allocations: 131.5 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.003598, allocations: 12.22 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.003754, allocations: 71.86 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.003849, allocations: 47.88 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.003868, allocations: 8 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.003915, allocations: 16 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.003938, allocations: 31.89 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.003979, allocations: 35.91 kB / 0.953 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.004114, allocations: 119.6 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004116, allocations: 0 / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004117, allocations: 4 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004121, allocations: 3.938 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 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.0004937/0.004615, allocations: 349.8 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004649, allocations: 8.031 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.004679, allocations: 38.75 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.004775, allocations: 20.88 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.004864, allocations: 125.7 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004876, allocations: 4.375 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.004889, allocations: 12.38 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005017, allocations: 100.5 kB / 0.9538 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005025, allocations: 192 / 0.9538 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005035, allocations: 4.125 kB / 0.9538 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005041, allocations: 4 kB / 0.9538 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.00513, allocations: 47.97 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.005553, allocations: 327.7 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.005766, allocations: 114.8 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.005822, allocations: 48.84 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005835, allocations: 4 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.005984, allocations: 103.3 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.005985, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0002447/0.00623, allocations: 164.8 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.006265, allocations: 55.41 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.006347, allocations: 133.7 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.006361, allocations: 29.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.006401, allocations: 100 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.006435, allocations: 39.69 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.006474, allocations: 37.7 kB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.006543, allocations: 322.8 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.006591, allocations: 35.98 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.006635, allocations: 40.08 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.006729, allocations: 82.94 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006731, allocations: 0 / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001325/0.006863, allocations: 133.6 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006875, allocations: 8 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006879, allocations: 0 / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.006888, allocations: 0 / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.006954, allocations: 31.92 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006959, allocations: 0 / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.007012, allocations: 15.89 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.007021, allocations: 7.922 kB / 0.9556 GB, free: 14.05 MB / 0.9167 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 6.297e-05/0.007084, allocations: 128.1 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.007094, allocations: 7.953 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.007274, allocations: 165.9 kB / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007276, allocations: 0 / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00728, allocations: 4 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007283, allocations: 0 / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.007597, allocations: 421.4 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007597, allocations: 0 / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.007639, allocations: 19.94 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007641, allocations: 3.984 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.00765, allocations: 4 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007651, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007652, allocations: 4 kB / 0.9563 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.007811, allocations: 250 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.007824, allocations: 15.88 kB / 0.9566 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.00784, allocations: 8 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.0079, allocations: 4 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.007943, allocations: 27.84 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.007949, allocations: 4 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.007992, allocations: 99.2 kB / 0.9567 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007992, allocations: 4 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001585/0.00815, allocations: 27.95 kB / 0.9568 GB, free: 12.8 MB / 0.9167 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.0003571/0.008508, allocations: 0.7787 MB / 0.9575 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.008756, allocations: 106.1 kB / 0.9576 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008758, allocations: 0 / 0.9576 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.008819, allocations: 47.92 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.008985, allocations: 19.92 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.01015, allocations: 1.616 MB / 0.9593 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.0102, allocations: 89.22 kB / 0.9593 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.01025, allocations: 24.89 kB / 0.9594 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.01031, allocations: 32.48 kB / 0.9594 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.01031, allocations: 0 / 0.9594 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.0273, allocations: 3.159 MB / 0.9625 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.917, allocations: 14.08 kB / 0.9625 GB, free: 6.949 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.765 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solTim.solTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.899125722236931]