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.001299/0.001299, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00152/0.00152, allocations: 216 kB / 22.25 MB, free: 5.113 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8 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.182/3.182, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.002003/0.002003, allocations: 70 kB / 1.177 GB, free: 17.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 180.2 MB / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002892/0.3488, allocations: 1.506 MB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.3498, allocations: 0.5065 MB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.3498, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.3499, allocations: 7.922 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.3501, allocations: 15.88 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.299e-05/0.3502, allocations: 19.97 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3503, allocations: 59.72 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3504, allocations: 7.938 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3506, allocations: 27.92 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.3507, allocations: 35.83 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3507, allocations: 4 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.3507, allocations: 4 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.3507, allocations: 4 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.3508, allocations: 27.86 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3509, allocations: 39.88 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3509, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3509, allocations: 3.938 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3509, allocations: 0 / 1.355 GB, free: 6.289 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.0005993/0.3515, allocations: 282.2 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3516, allocations: 12.03 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3516, allocations: 34.75 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3517, allocations: 8.922 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3518, allocations: 110.5 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3518, allocations: 4.375 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3518, allocations: 4.375 kB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.352, allocations: 57.73 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.352, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.352, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.352, allocations: 8 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.352, allocations: 15.98 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3524, allocations: 243.9 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3525, allocations: 42.52 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3526, allocations: 20.94 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3526, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3528, allocations: 71.33 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3528, allocations: 0 / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002374/0.353, allocations: 85.56 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3531, allocations: 55.41 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.3532, allocations: 109.8 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3532, allocations: 29.7 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3533, allocations: 84.14 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.3533, allocations: 15.89 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3533, allocations: 25.7 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3535, allocations: 318.8 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.3535, allocations: 12.25 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.3535, allocations: 15.98 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.3536, allocations: 28.86 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3536, allocations: 0 / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.3537, allocations: 69.58 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3537, allocations: 4 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3537, allocations: 0 / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3537, allocations: 8 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.3538, allocations: 7.984 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3538, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.3539, allocations: 4 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3539, allocations: 4 kB / 1.357 GB, free: 4.336 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 9.226e-05/0.354, allocations: 117.7 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.354, allocations: 11.89 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.354, allocations: 12.05 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.354, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.354, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.354, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3542, allocations: 144.7 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3542, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.3542, allocations: 4 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3542, allocations: 3.938 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3542, allocations: 3.984 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3542, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3542, allocations: 4.188 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3544, allocations: 105 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.3544, allocations: 7.891 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3544, allocations: 7.984 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.3544, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3545, allocations: 15.97 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3545, allocations: 0 / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.3546, allocations: 91.58 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3546, allocations: 0 / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001896/0.3547, allocations: 12 kB / 1.357 GB, free: 3.73 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.000451/0.3552, allocations: 0.6358 MB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3553, allocations: 31.98 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3553, allocations: 0 / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.3554, allocations: 23.92 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.3555, allocations: 4 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3567, allocations: 1.226 MB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3571, allocations: 0.6807 MB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.3571, allocations: 7.906 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.3571, allocations: 11.44 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3571, allocations: 0 / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.384, allocations: 1.634 MB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 14.88 kB / 1.361 GB, free: 15.47 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.450719064101577]