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.001277/0.001277, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001425/0.001425, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 8.035 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.244/3.244, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.001954/0.001954, allocations: 76.05 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3332, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00265/0.3359, allocations: 1.519 MB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.3368, allocations: 0.5026 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.3368, allocations: 3.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.3368, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.3371, allocations: 23.84 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.66e-05/0.3371, allocations: 11.98 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.3372, allocations: 55.77 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3373, allocations: 11.94 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.3375, allocations: 31.86 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.3376, allocations: 31.91 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3376, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.3376, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3376, allocations: 11.98 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.3377, allocations: 15.88 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.984e-05/0.3378, allocations: 43.86 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3378, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3378, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3378, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0005314/0.3383, allocations: 286.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3383, allocations: 8.031 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.3384, allocations: 34.73 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.3384, allocations: 4.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3385, allocations: 122.4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3386, allocations: 8.312 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3386, allocations: 4.359 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3387, allocations: 57.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3387, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3387, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3387, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.3388, allocations: 23.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3391, allocations: 235.9 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3392, allocations: 46.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.3393, allocations: 24.94 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.3393, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3394, allocations: 63.39 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3394, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.000213/0.3396, allocations: 85.58 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3397, allocations: 59.39 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.3398, allocations: 105.9 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3398, allocations: 25.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.3399, allocations: 88.12 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.3399, allocations: 11.91 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.3399, allocations: 21.72 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3401, allocations: 322.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.3401, allocations: 12 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.3401, allocations: 15.98 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.3402, allocations: 28.86 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001087/0.3403, allocations: 65.58 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3403, allocations: 9.406 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3403, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3403, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.3404, allocations: 8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3404, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.3405, allocations: 11.98 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3405, allocations: 0 / 1.33 GB, free: 13.75 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 8.756e-05/0.3405, allocations: 117.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3406, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3406, allocations: 4.062 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3406, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3406, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3406, allocations: 3.984 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3407, allocations: 152.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3407, allocations: 4.375 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.3408, allocations: 11.88 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3408, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3408, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3408, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3408, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3409, allocations: 97.05 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.3409, allocations: 7.953 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3409, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.341, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.341, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.341, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3411, allocations: 91.27 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001823/0.3413, allocations: 16 kB / 1.33 GB, free: 13.14 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.0004393/0.3417, allocations: 0.6436 MB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3418, allocations: 35.92 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3418, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.3419, allocations: 16 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.342, allocations: 8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3432, allocations: 1.218 MB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3435, allocations: 0.6846 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.3435, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3436, allocations: 15.44 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3436, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3699, allocations: 1.641 MB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.51, allocations: 3.938 kB / 1.335 GB, free: 8.891 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.20197921200088]