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.001692/0.001692, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002018/0.002018, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.62/1.62, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.34/3.34, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.001994/0.001994, allocations: 72.67 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4245, allocations: 180.2 MB / 1.348 GB, free: 9.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004023/0.4286, allocations: 1.498 MB / 1.349 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4299, allocations: 0.4987 MB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.4299, allocations: 0 / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.43, allocations: 7.938 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.4303, allocations: 19.84 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.4304, allocations: 23.86 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.4305, allocations: 59.77 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4307, allocations: 11.94 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.4309, allocations: 27.86 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.431, allocations: 23.91 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.4311, allocations: 4 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.4311, allocations: 4 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.4311, allocations: 11.98 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.4312, allocations: 27.86 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.4313, allocations: 35.89 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4313, allocations: 0 / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4313, allocations: 0 / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.4314, allocations: 0 / 1.35 GB, free: 7.676 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.0008072/0.4322, allocations: 360.8 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.4322, allocations: 11.98 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.4323, allocations: 38.75 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.4323, allocations: 4.938 kB / 1.35 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.4325, allocations: 176.3 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4326, allocations: 4.359 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.4326, allocations: 8.375 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4327, allocations: 49.81 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4327, allocations: 0 / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4328, allocations: 4 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4328, allocations: 4 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.4329, allocations: 15.98 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.4334, allocations: 280.8 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4335, allocations: 42.56 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.4336, allocations: 20.84 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.4336, allocations: 3.938 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.4339, allocations: 63.48 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.4339, allocations: 4 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0003215/0.4342, allocations: 85.56 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4342, allocations: 51.41 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4344, allocations: 113.8 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.4344, allocations: 25.7 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4345, allocations: 84.14 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4345, allocations: 15.89 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.4346, allocations: 17.72 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4348, allocations: 322.8 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.4348, allocations: 11.98 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.4348, allocations: 15.94 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.4349, allocations: 32.8 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4349, allocations: 4 kB / 1.352 GB, free: 5.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001731/0.4351, allocations: 65.64 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4351, allocations: 4 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4351, allocations: 448 / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4352, allocations: 3.984 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.4353, allocations: 12 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4353, allocations: 0 / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.4353, allocations: 8 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4354, allocations: 0 / 1.352 GB, free: 5.516 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.0002704/0.4356, allocations: 121.8 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.4356, allocations: 11.89 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.4357, allocations: 7.969 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4357, allocations: 0 / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4357, allocations: 0 / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4357, allocations: 4 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.4359, allocations: 181.6 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4359, allocations: 0 / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.436, allocations: 4 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.436, allocations: 0 / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.436, allocations: 0 / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.436, allocations: 0 / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.436, allocations: 3.938 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4362, allocations: 101 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.4363, allocations: 89 kB / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4363, allocations: 0 / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.4364, allocations: 4 kB / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.4364, allocations: 7.922 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4364, allocations: 4 kB / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.4365, allocations: 95.56 kB / 1.352 GB, free: 4.789 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4365, allocations: 0 / 1.352 GB, free: 4.789 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003135/0.4368, allocations: 12 kB / 1.352 GB, free: 4.777 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.0006517/0.4375, allocations: 0.632 MB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4376, allocations: 32.06 kB / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4376, allocations: 0 / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.4377, allocations: 16.11 kB / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4379, allocations: 8 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4393, allocations: 1.224 MB / 1.354 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4397, allocations: 0.6846 MB / 1.355 GB, free: 2.047 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.4397, allocations: 4 kB / 1.355 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.4398, allocations: 17.3 kB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.4398, allocations: 0 / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.4658, allocations: 1.54 MB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.321, allocations: 5.703 kB / 1.357 GB, free: 0.6289 MB / 1.045 GB " [Timeout remaining time 292] (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: 15.562490904936567]