Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001542/0.001542, allocations: 104.2 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.001938/0.001938, 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.447/1.447, 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 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.107/3.107, allocations: 0.49 GB / 0.7916 GB, free: 33.49 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.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_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.001943/0.001943, allocations: 70.78 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002604/0.3145, allocations: 1.5 MB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.3153, allocations: 0.5064 MB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.3154, allocations: 0 / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.3154, allocations: 11.94 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.3156, allocations: 23.84 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.299e-05/0.3157, allocations: 15.92 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.3158, allocations: 47.84 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.3159, allocations: 11.94 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.316, allocations: 35.84 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.3161, allocations: 23.92 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3161, allocations: 4 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.3161, allocations: 8 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3162, allocations: 11.92 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.3162, allocations: 15.94 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.3163, allocations: 43.86 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3163, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3163, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3163, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 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.0005472/0.3168, allocations: 355.3 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3169, allocations: 15.98 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.3169, allocations: 38.73 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.3169, allocations: 0.9375 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3171, allocations: 180.3 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3171, allocations: 384 / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3171, allocations: 384 / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3173, allocations: 65.73 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3173, allocations: 0 / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3173, allocations: 0 / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3173, allocations: 0 / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.3173, allocations: 19.98 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3177, allocations: 280.8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.3178, allocations: 34.58 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.3178, allocations: 20.94 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3179, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.318, allocations: 67.38 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.318, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002151/0.3182, allocations: 85.56 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3183, allocations: 51.41 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.3184, allocations: 113.8 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3184, allocations: 29.64 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.3184, allocations: 92.12 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3184, allocations: 7.906 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3185, allocations: 21.7 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3186, allocations: 322.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.3187, allocations: 15.98 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.3187, allocations: 12 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.3188, allocations: 28.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3188, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001172/0.3189, allocations: 69.64 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3189, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3189, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3189, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.319, allocations: 11.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.319, allocations: 4.438 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.3191, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3191, allocations: 4 kB / 1.325 GB, free: 14.91 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: 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.0001076/0.3192, allocations: 117.7 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3192, allocations: 4 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.3192, allocations: 15.95 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3192, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3192, allocations: 3.938 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3192, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3194, allocations: 173.5 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3194, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.3194, allocations: 7.984 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3194, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3195, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3195, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3195, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.3196, allocations: 93.06 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.3197, allocations: 96.98 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3197, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.3198, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3198, allocations: 15.92 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3198, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.3199, allocations: 87.28 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3199, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001904/0.3201, allocations: 12 kB / 1.325 GB, free: 14.18 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: 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.0005067/0.3206, allocations: 0.632 MB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3207, allocations: 43.86 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3207, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.3208, allocations: 15.98 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3209, allocations: 4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3222, allocations: 1.225 MB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3226, allocations: 0.6846 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.3226, allocations: 4 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3226, allocations: 11.44 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3226, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3461, allocations: 1.536 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.057, allocations: 10.78 kB / 1.33 GB, free: 10.04 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.680402745958418]