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.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.001829/0.001829, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001969/0.001969, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 497.2 MB / 0.7812 GB, free: 12.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9048, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002166/0.907, allocations: 1.489 MB / 1.305 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006099/0.9076, allocations: 479.1 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.9076, allocations: 0 / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.9077, allocations: 3.938 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.9079, allocations: 28.53 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.998e-05/0.9079, allocations: 18.14 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.908, allocations: 61.27 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.9081, allocations: 9.844 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.9082, allocations: 19.41 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.9082, allocations: 23.59 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.9083, allocations: 2.844 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.9083, allocations: 3.156 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.9083, allocations: 18.48 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.9083, allocations: 17.14 kB / 1.306 GB, free: 30.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.9084, allocations: 36.38 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9084, allocations: 4 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9084, allocations: 0 / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.9084, allocations: 2.906 kB / 1.306 GB, free: 30.63 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.0004651/0.9089, allocations: 356.5 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.9089, allocations: 8.844 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.909, allocations: 34.69 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.909, allocations: 7.734 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/0.9091, allocations: 181.3 kB / 1.307 GB, free: 30.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.9091, allocations: 8.375 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.9091, allocations: 3.219 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.9092, allocations: 52.88 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9092, allocations: 0 / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.9092, allocations: 2.875 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9092, allocations: 0 / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.9093, allocations: 19.84 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.9096, allocations: 270.5 kB / 1.307 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.9097, allocations: 44.58 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.9097, allocations: 17.39 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.9097, allocations: 0 / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.9098, allocations: 71.97 kB / 1.307 GB, free: 29.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.9098, allocations: 0 / 1.307 GB, free: 29.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001987/0.91, allocations: 83.97 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.9101, allocations: 51.41 kB / 1.307 GB, free: 29.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.9101, allocations: 116.8 kB / 1.307 GB, free: 29.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.9102, allocations: 25.7 kB / 1.307 GB, free: 29.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.9102, allocations: 86.92 kB / 1.307 GB, free: 29.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.9102, allocations: 15.03 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.9102, allocations: 19.69 kB / 1.308 GB, free: 29.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.9103, allocations: 326.7 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.9103, allocations: 9.906 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.9103, allocations: 16.75 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.9104, allocations: 32.33 kB / 1.308 GB, free: 28.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9104, allocations: 0 / 1.308 GB, free: 28.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.558e-05/0.9105, allocations: 64.05 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.9105, allocations: 5.562 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9105, allocations: 0 / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9105, allocations: 0 / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.9106, allocations: 8.375 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9106, allocations: 3.938 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.9106, allocations: 10.05 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.9106, allocations: 3.938 kB / 1.308 GB, free: 28.78 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 5.237e-05/0.9107, allocations: 120.6 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.9107, allocations: 2.844 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.9107, allocations: 11.58 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.9107, allocations: 2.719 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9107, allocations: 3.984 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9107, allocations: 0 / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.9108, allocations: 176.7 kB / 1.308 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.9108, allocations: 448 / 1.308 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.9108, allocations: 5.031 kB / 1.308 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9108, allocations: 4 kB / 1.308 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.9108, allocations: 6.594 kB / 1.308 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9108, allocations: 0 / 1.308 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9108, allocations: 0 / 1.308 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.911, allocations: 103.9 kB / 1.308 GB, free: 28.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.911, allocations: 79.98 kB / 1.308 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.911, allocations: 3.469 kB / 1.308 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.911, allocations: 2.969 kB / 1.308 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.9111, allocations: 14.3 kB / 1.309 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.9111, allocations: 0 / 1.309 GB, free: 28.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.9111, allocations: 87.66 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9111, allocations: 0 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001852/0.9113, allocations: 8.469 kB / 1.309 GB, free: 28.16 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.0002941/0.9116, allocations: 0.6375 MB / 1.309 GB, free: 27.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.9117, allocations: 38.58 kB / 1.309 GB, free: 27.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9117, allocations: 2.688 kB / 1.309 GB, free: 27.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.9118, allocations: 11.84 kB / 1.309 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9119, allocations: 8.656 kB / 1.309 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.9127, allocations: 1.242 MB / 1.31 GB, free: 26.35 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.9128, allocations: 0.6805 MB / 1.311 GB, free: 25.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.9129, allocations: 2.906 kB / 1.311 GB, free: 25.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.9129, allocations: 21.7 kB / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9129, allocations: 0 / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.9355, allocations: 1.529 MB / 1.313 GB, free: 25.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.765, allocations: 10.77 kB / 1.313 GB, free: 25.28 MB / 1.061 GB " [Timeout remaining time 291] (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_2/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: 14.960411445703357]