Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.0009807/0.0009807, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001043/0.001043, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8901/0.8901, 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.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.12 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.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.096e-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.LocalCivilTime): time 0.002174/0.002194, allocations: 1.497 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.00296, allocations: 479.2 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.00301, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.00304, allocations: 3.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.00328, allocations: 27.86 kB / 0.9525 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.86e-05/0.003358, allocations: 15.97 kB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.427e-05/0.003443, allocations: 55.78 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.003536, allocations: 4 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.003721, allocations: 51.77 kB / 0.9526 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.003793, allocations: 19.97 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003809, allocations: 4 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.003817, allocations: 4 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.003838, allocations: 15.92 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.003872, allocations: 11.98 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.104e-05/0.003963, allocations: 59.8 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.003966, allocations: 3.938 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003967, allocations: 0 / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003971, allocations: 0 / 0.9527 GB, free: 1.246 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004393/0.004411, allocations: 282.2 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004451, allocations: 8.031 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.004481, allocations: 34.75 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.004506, allocations: 8.875 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.004604, allocations: 117.7 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.004618, allocations: 384 / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.004634, allocations: 12.31 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.004742, allocations: 54.23 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.004751, allocations: 192 / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.004762, allocations: 8.125 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004767, allocations: 0 / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.004821, allocations: 23.98 kB / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.00522, allocations: 243.9 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.005335, allocations: 58.44 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.005365, allocations: 16.98 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005376, allocations: 0 / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.005549, allocations: 75.38 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.00555, allocations: 0 / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0001995/0.00575, allocations: 85.56 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.005792, allocations: 55.41 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.005878, allocations: 113.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.005891, allocations: 25.7 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.005931, allocations: 92.08 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005954, allocations: 19.84 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.005983, allocations: 17.72 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.006059, allocations: 322.8 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.006087, allocations: 16 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.006108, allocations: 15.98 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.006162, allocations: 41.31 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.006166, allocations: 3.938 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.198e-05/0.006248, allocations: 81.58 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.00626, allocations: 4 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006265, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.006281, allocations: 3.984 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.00635, allocations: 11.98 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.006354, allocations: 0 / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.006391, allocations: 4 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006398, allocations: 4 kB / 0.9545 GB, free: 15.23 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: 5 (locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.833e-05/0.006466, allocations: 121.7 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.006475, allocations: 7.984 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.006497, allocations: 8.438 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006499, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.006504, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006507, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.006641, allocations: 148.7 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006643, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.006674, allocations: 11.92 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006677, allocations: 4 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006685, allocations: 256 / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.006687, allocations: 8 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006688, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006801, allocations: 93.06 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.006817, allocations: 15.94 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.006831, allocations: 0 / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.006873, allocations: 7.938 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.006907, allocations: 3.984 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.006914, allocations: 4 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.006949, allocations: 91.27 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006949, allocations: 4 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00013/0.007079, allocations: 12 kB / 0.955 GB, free: 14.62 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: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002825/0.007362, allocations: 0.6358 MB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.007473, allocations: 43.92 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007475, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.007505, allocations: 16 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.007622, allocations: 2.812 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.008474, allocations: 1.262 MB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.008514, allocations: 67.34 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.00854, allocations: 7.984 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.008579, allocations: 16.5 kB / 0.957 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.00858, allocations: 0 / 0.957 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02472, allocations: 2.242 MB / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.818, allocations: 2.031 kB / 0.9592 GB, free: 10.36 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable locTim.cloTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.892041366547346]