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.0008293/0.0008293, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008903/0.0008903, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8509/0.8509, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.963e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001943/0.001963, allocations: 1.481 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006259/0.002589, allocations: 487.5 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.002628, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.002654, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.002851, allocations: 27.78 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.72e-05/0.002919, allocations: 23.86 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.002994, allocations: 63.77 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.003085, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.003245, allocations: 39.91 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.003318, allocations: 23.89 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003333, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.003341, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.003361, allocations: 19.92 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.003392, allocations: 8 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.003484, allocations: 59.78 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003485, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003487, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00349, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004263/0.003917, allocations: 274.3 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.003953, allocations: 8.75 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.003983, allocations: 38.73 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.004018, allocations: 8.891 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.004104, allocations: 121.7 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004115, allocations: 384 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004126, allocations: 4.375 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.004218, allocations: 62.16 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004225, allocations: 4.188 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.004234, allocations: 4.125 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.004238, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.004284, allocations: 23.98 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.004592, allocations: 236 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.004681, allocations: 50.5 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.004712, allocations: 28.91 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.00472, allocations: 0 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.00484, allocations: 67.39 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004841, allocations: 4 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0001675/0.005009, allocations: 85.58 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.00504, allocations: 55.41 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.005099, allocations: 117.8 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.00511, allocations: 29.69 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.005142, allocations: 84.14 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.00516, allocations: 15.84 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.005189, allocations: 25.7 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.005255, allocations: 314.8 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.005281, allocations: 19.98 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.005299, allocations: 16.31 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.005348, allocations: 41.06 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.00535, allocations: 7.938 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.244e-05/0.005423, allocations: 69.64 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.005435, allocations: 8 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.005438, allocations: 7.875 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.005449, allocations: 3.984 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.005502, allocations: 8 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005506, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.00554, allocations: 8 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.005548, allocations: 3.984 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.346e-05/0.005602, allocations: 125.8 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.005609, allocations: 7.953 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.005625, allocations: 4.438 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005626, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.00563, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005633, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.00571, allocations: 140.9 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.005712, allocations: 3.984 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.005726, allocations: 8 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.005727, allocations: 0 / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.005733, allocations: 8 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.005736, allocations: 7.938 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005737, allocations: 0 / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.309e-05/0.00582, allocations: 101 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.005831, allocations: 11.94 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.005844, allocations: 4 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.104e-05/0.005875, allocations: 0 / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.005903, allocations: 7.984 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005906, allocations: 3.938 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.005938, allocations: 91.27 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.005938, allocations: 4 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001251/0.006063, allocations: 16 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002481/0.006311, allocations: 0.6397 MB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.006398, allocations: 35.98 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006399, allocations: 0 / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.006426, allocations: 19.94 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.006528, allocations: 4 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.007291, allocations: 1.254 MB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.00733, allocations: 75.33 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.007352, allocations: 4 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.007386, allocations: 16.44 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of SimCode: time 2.91e-07/0.007386, allocations: 0 / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.02039, allocations: 2.241 MB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/6.585, allocations: 21.16 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.542747956700623]