Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001715/0.001715, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.002105/0.002105, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.147/3.147, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001958/0.001958, allocations: 62.64 kB / 1.177 GB, free: 17.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3515, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002739/0.3543, allocations: 1.51 MB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.3552, allocations: 0.5104 MB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.3553, allocations: 0 / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.3553, allocations: 3.938 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.3555, allocations: 27.84 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.45e-05/0.3556, allocations: 15.92 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3557, allocations: 55.8 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.3558, allocations: 7.922 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.356, allocations: 35.91 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.356, allocations: 27.86 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3561, allocations: 0 / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.3561, allocations: 4 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.3561, allocations: 11.98 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3561, allocations: 19.88 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3562, allocations: 39.88 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3562, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3562, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3563, allocations: 4 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005356/0.3568, allocations: 282.2 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3568, allocations: 8.031 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.3569, allocations: 38.75 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.3569, allocations: 0.9375 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.357, allocations: 118.5 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.357, allocations: 384 / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.357, allocations: 4.375 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.3572, allocations: 53.75 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3572, allocations: 0 / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.3572, allocations: 4 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3572, allocations: 0 / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.3573, allocations: 23.98 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.3576, allocations: 243.9 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3577, allocations: 42.5 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.3578, allocations: 24.78 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3578, allocations: 4 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.358, allocations: 71.42 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.358, allocations: 0 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002494/0.3582, allocations: 85.56 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3583, allocations: 51.41 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3584, allocations: 117.8 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3584, allocations: 25.7 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3585, allocations: 84.14 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3585, allocations: 19.89 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.3585, allocations: 17.72 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3587, allocations: 322.8 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.3587, allocations: 8 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.3587, allocations: 12 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.3588, allocations: 33.22 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3588, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.3589, allocations: 73.59 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3589, allocations: 4 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3589, allocations: 7.984 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3589, allocations: 0 / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.359, allocations: 8 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.359, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.3591, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3591, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (6): * Single equations (assignments): 6 * 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.0001059/0.3592, allocations: 126.4 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.3592, allocations: 3.953 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.3592, allocations: 16.06 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3592, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3592, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3592, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3594, allocations: 152.6 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3594, allocations: 0 / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.3594, allocations: 7.938 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3594, allocations: 0 / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3594, allocations: 0 / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3594, allocations: 3.938 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3594, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3596, allocations: 101 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3596, allocations: 7.953 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3596, allocations: 0 / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.3596, allocations: 4 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3597, allocations: 3.984 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3597, allocations: 4.125 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.3598, allocations: 99.2 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3598, allocations: 0 / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000179/0.3599, allocations: 12 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004741/0.3604, allocations: 0.6358 MB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.3605, allocations: 31.98 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3605, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.3606, allocations: 23.94 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3607, allocations: 5.688 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.362, allocations: 1.222 MB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3623, allocations: 0.6807 MB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.3623, allocations: 3.906 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3624, allocations: 19.42 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3624, allocations: 0 / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3891, allocations: 1.637 MB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.62, allocations: 6.812 kB / 1.361 GB, free: 15.39 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.400591132000045]