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.001316/0.001316, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001496/0.001496, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.73 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.166/3.166, allocations: 0.5107 GB / 0.8158 GB, free: 17.73 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.002028/0.002028, allocations: 72.92 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00272/0.3349, allocations: 1.493 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.3358, allocations: 467.9 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.3358, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3359, allocations: 7.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3361, allocations: 27.84 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.282e-05/0.3362, allocations: 15.92 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3363, allocations: 55.8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3364, allocations: 11.92 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3366, allocations: 27.91 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.3367, allocations: 19.92 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3367, allocations: 7.938 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.3367, allocations: 8 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.3367, allocations: 7.984 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3368, allocations: 19.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3369, allocations: 39.88 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3369, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3369, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3369, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 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.0005821/0.3375, allocations: 274.2 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3376, allocations: 12.03 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.3376, allocations: 34.69 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3376, allocations: 12.89 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3378, allocations: 114.5 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3378, allocations: 384 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3378, allocations: 12.31 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3379, allocations: 49.81 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3379, allocations: 3.984 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3379, allocations: 7.984 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3379, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.338, allocations: 16 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3384, allocations: 247.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3385, allocations: 46.56 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.3385, allocations: 16.86 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3385, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3387, allocations: 67.42 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3387, allocations: 3.938 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002256/0.339, allocations: 81.67 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.339, allocations: 51.41 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3391, allocations: 113.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3391, allocations: 25.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.3392, allocations: 92.09 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3392, allocations: 11.94 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3393, allocations: 17.72 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3394, allocations: 322.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.3395, allocations: 11.98 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.3395, allocations: 12 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.3395, allocations: 32.8 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3395, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.3397, allocations: 65.64 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3397, allocations: 4 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3397, allocations: 448 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3397, allocations: 4 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.3398, allocations: 11.98 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3398, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.3398, allocations: 12 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3398, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.061 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.611e-05/0.3399, allocations: 118 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.34, allocations: 11.94 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.34, allocations: 8.062 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.34, allocations: 3.938 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.34, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.34, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3401, allocations: 148.6 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3401, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.3402, allocations: 4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3402, allocations: 3.984 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3402, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3402, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3402, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3403, allocations: 97 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.3403, allocations: 11.94 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3403, allocations: 0 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.3404, allocations: 4 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3404, allocations: 11.98 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3405, allocations: 4 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.3405, allocations: 87.27 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001843/0.3407, allocations: 15.94 kB / 1.368 GB, free: 9.254 MB / 1.061 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.0004658/0.3412, allocations: 0.6358 MB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.3413, allocations: 36.05 kB / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3413, allocations: 0 / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.3413, allocations: 24.11 kB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3415, allocations: 4 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3427, allocations: 1.23 MB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.3428, allocations: 63.34 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.3428, allocations: 11.84 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.3429, allocations: 15.44 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3429, allocations: 0 / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3703, allocations: 2.023 MB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.3, allocations: 10.42 kB / 1.372 GB, free: 5.227 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 & /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: 17.977283435873687]