Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.89 kB / 1.104 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.8677, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002585/0.8703, allocations: 1.483 MB / 1.27 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.8711, allocations: 492.4 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.8711, allocations: 0 / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.8711, allocations: 0 / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.8713, allocations: 19.8 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.155e-05/0.8714, allocations: 23.97 kB / 1.271 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.8715, allocations: 47.8 kB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.8716, allocations: 11.78 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.8717, allocations: 23.94 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.8718, allocations: 31.83 kB / 1.271 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.8718, allocations: 4 kB / 1.271 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.8718, allocations: 4 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.8718, allocations: 8 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.8719, allocations: 15.92 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.872, allocations: 43.81 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.872, allocations: 0 / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.872, allocations: 0 / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.872, allocations: 0 / 1.271 GB, free: 2.973 MB / 0.9669 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.0005399/0.8725, allocations: 365.3 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.8725, allocations: 8.031 kB / 1.271 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.8726, allocations: 38.69 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.8726, allocations: 4.891 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.8728, allocations: 180.2 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.8728, allocations: 4.375 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.8728, allocations: 384 / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.8729, allocations: 53.81 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8729, allocations: 0 / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.8729, allocations: 0 / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8729, allocations: 4 kB / 1.272 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.873, allocations: 19.98 kB / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.8733, allocations: 272.8 kB / 1.272 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.8734, allocations: 42.56 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.8735, allocations: 28.92 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.8735, allocations: 0 / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.8736, allocations: 67.33 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8736, allocations: 0 / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002105/0.8738, allocations: 81.69 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8739, allocations: 51.41 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.874, allocations: 109.8 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.874, allocations: 25.7 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.8741, allocations: 88.12 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.8741, allocations: 19.84 kB / 1.272 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.8741, allocations: 17.72 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8743, allocations: 322.8 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.8743, allocations: 12 kB / 1.273 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.8743, allocations: 11.94 kB / 1.273 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.8744, allocations: 45.16 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8744, allocations: 0 / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001085/0.8745, allocations: 61.64 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8745, allocations: 10.34 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8745, allocations: 0 / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8745, allocations: 4 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.8746, allocations: 12 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.8746, allocations: 0 / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.8746, allocations: 3.984 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.8747, allocations: 4 kB / 1.273 GB, free: 0.8125 MB / 0.9669 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.9e-05/0.8747, allocations: 118.2 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.8748, allocations: 7.953 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.8748, allocations: 3.969 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8748, allocations: 4 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8748, allocations: 4 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.8748, allocations: 0 / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.8749, allocations: 177.6 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8749, allocations: 3.938 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.875, allocations: 4 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.875, allocations: 0 / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.875, allocations: 4 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.875, allocations: 4 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.875, allocations: 0 / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.8751, allocations: 101 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.8752, allocations: 81.06 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.8752, allocations: 8 kB / 1.273 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.8752, allocations: 8.109 kB / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.8753, allocations: 4 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.8753, allocations: 0 / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.8753, allocations: 91.27 kB / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8753, allocations: 0 / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001805/0.8755, allocations: 12 kB / 1.273 GB, free: 84 kB / 0.9669 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.000466/0.876, allocations: 0.6358 MB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.8761, allocations: 35.92 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8761, allocations: 0 / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.8762, allocations: 19.94 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.8763, allocations: 10.81 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.8775, allocations: 1.223 MB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.8777, allocations: 0.6807 MB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.8778, allocations: 7.922 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.8778, allocations: 15.44 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8778, allocations: 0 / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.9004, allocations: 1.537 MB / 1.277 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.742, allocations: 14.23 kB / 1.277 GB, free: 11.93 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.71921264892444]