Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00169/0.00169, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002087/0.002087, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.844/2.844, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",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.001918/0.001918, allocations: 67.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9697/0.9716, allocations: 176.1 MB / 1.321 GB, free: 24.91 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002188/0.9738, allocations: 1.511 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.9745, allocations: 0.5031 MB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.9745, allocations: 0 / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.9746, allocations: 3.938 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.9748, allocations: 29.06 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.602e-05/0.9749, allocations: 14.11 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.9749, allocations: 57.77 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.975, allocations: 10.52 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.9752, allocations: 26.23 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.9752, allocations: 19.12 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.9753, allocations: 6.578 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.9753, allocations: 9.281 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.9753, allocations: 7.422 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.9753, allocations: 26.94 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.9754, allocations: 35.8 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9754, allocations: 4 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9754, allocations: 2.531 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9754, allocations: 0 / 1.324 GB, free: 23.39 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.0004704/0.9759, allocations: 351.1 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.9759, allocations: 14.77 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.631e-05/0.9759, allocations: 4.188 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.012e-05/0.976, allocations: 33.38 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.976, allocations: 0.9375 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.9761, allocations: 184.6 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.9761, allocations: 6.875 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.9761, allocations: 8.297 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.993e-05/0.9762, allocations: 59.42 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9762, allocations: 0 / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.9762, allocations: 3.938 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9762, allocations: 3 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.9763, allocations: 15.61 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.9766, allocations: 274.1 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.9766, allocations: 43.91 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.9767, allocations: 17.3 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.9767, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.9768, allocations: 64.7 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.9768, allocations: 2.656 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.977, allocations: 87.53 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.977, allocations: 54.22 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.9771, allocations: 112.5 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.9771, allocations: 25.7 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.9771, allocations: 84.14 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.9772, allocations: 17.69 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.9772, allocations: 19.12 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.9772, allocations: 322.1 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.9773, allocations: 16.22 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.9773, allocations: 16.39 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.9773, allocations: 26.67 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9773, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.881e-05/0.9774, allocations: 69.8 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.9774, allocations: 7.594 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.9774, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.9774, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.9775, allocations: 9 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.9775, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.9776, allocations: 6.875 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.9776, allocations: 2.469 kB / 1.326 GB, free: 21.54 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.377e-05/0.9776, allocations: 121.5 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.9776, allocations: 2.625 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.9777, allocations: 7.969 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.9777, allocations: 2.812 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9777, allocations: 0 / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9777, allocations: 0 / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.9777, allocations: 186.3 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9777, allocations: 4 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.9778, allocations: 2.969 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9778, allocations: 11.3 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.9778, allocations: 2.969 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9778, allocations: 192 / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9778, allocations: 0 / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.9779, allocations: 100.3 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.9779, allocations: 83.75 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.9779, allocations: 4 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.978, allocations: 3.094 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.978, allocations: 6.031 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.978, allocations: 4 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.9781, allocations: 91.31 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9781, allocations: 0 / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001826/0.9782, allocations: 12.25 kB / 1.326 GB, free: 20.9 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.0002655/0.9785, allocations: 0.6353 MB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.9786, allocations: 29.7 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9786, allocations: 4 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.9787, allocations: 21.91 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.9788, allocations: 2.75 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.9796, allocations: 1.229 MB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.9797, allocations: 0.6876 MB / 1.329 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.9797, allocations: 2.719 kB / 1.329 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.9798, allocations: 17.47 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9798, allocations: 0 / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.9962, allocations: 1.564 MB / 1.33 GB, free: 18.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.247, allocations: 13.81 kB / 1.33 GB, free: 18.03 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.612779913004488]