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.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.001335/0.001335, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001512/0.001512, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_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.002256/0.002256, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.975/0.9773, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002905/0.9802, allocations: 1.501 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.9811, allocations: 0.502 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.9811, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.9812, allocations: 10.39 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.9814, allocations: 25.56 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.78e-05/0.9815, allocations: 21.61 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.9816, allocations: 51.22 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.9816, allocations: 12.11 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.9818, allocations: 27.7 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.9819, allocations: 26.69 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.9819, allocations: 3.094 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.9819, allocations: 8.062 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.9819, allocations: 11.27 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.982, allocations: 24.05 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.9821, allocations: 41.78 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9821, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9821, allocations: 1.094 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9821, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 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.0006115/0.9827, allocations: 351.2 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9828, allocations: 9.281 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.42e-05/0.9828, allocations: 9.188 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.9828, allocations: 36.56 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.9828, allocations: 7.844 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.983, allocations: 174.6 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.983, allocations: 6.562 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.983, allocations: 1.469 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.9832, allocations: 54.09 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.9832, allocations: 0 / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.9832, allocations: 1.328 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.9832, allocations: 4.906 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.9832, allocations: 21.09 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.9836, allocations: 272 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.9837, allocations: 44.81 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.9838, allocations: 19.16 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.9838, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.9839, allocations: 72.86 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9839, allocations: 0 / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002364/0.9842, allocations: 80.8 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.9842, allocations: 52.98 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9843, allocations: 112.2 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.9844, allocations: 26.77 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.9844, allocations: 87.05 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.9844, allocations: 15.11 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.9845, allocations: 23.5 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9846, allocations: 322.1 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.9847, allocations: 12 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.9847, allocations: 11.86 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.9848, allocations: 31.56 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9848, allocations: 0.5 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001257/0.9849, allocations: 62.83 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9849, allocations: 5.469 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9849, allocations: 4.469 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.9849, allocations: 5.281 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.985, allocations: 8.172 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.985, allocations: 0.5312 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.9851, allocations: 7.625 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.9851, allocations: 2.031 kB / 1.283 GB, free: 8.355 MB / 0.9981 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.296e-05/0.9852, allocations: 122.4 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.9852, allocations: 2.922 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.9852, allocations: 9.75 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9852, allocations: 8.484 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-06/0.9852, allocations: 4.531 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9852, allocations: 1.297 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.9854, allocations: 176.9 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9854, allocations: 0 / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.9854, allocations: 4.734 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9854, allocations: 1.094 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9854, allocations: 5.094 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9854, allocations: 1.344 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9854, allocations: 0.5625 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.9856, allocations: 107.4 kB / 1.283 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.9857, allocations: 79.42 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.9857, allocations: 1.688 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.9857, allocations: 4.188 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.9858, allocations: 8.109 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.9858, allocations: 2.688 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.9859, allocations: 88.61 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9859, allocations: 0.5 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002138/0.9861, allocations: 16.75 kB / 1.284 GB, free: 7.723 MB / 0.9981 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.0004661/0.9865, allocations: 0.6294 MB / 1.284 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.9867, allocations: 37.58 kB / 1.284 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9867, allocations: 0 / 1.284 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/0.9867, allocations: 16.83 kB / 1.284 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.9869, allocations: 5.812 kB / 1.284 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.9881, allocations: 1.24 MB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.9884, allocations: 0.6809 MB / 1.286 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.9884, allocations: 8.172 kB / 1.286 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.9885, allocations: 15.55 kB / 1.286 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9885, allocations: 3.938 kB / 1.286 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/1.008, allocations: 1.58 MB / 1.288 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.464, allocations: 3.781 kB / 1.288 GB, free: 4.84 MB / 0.9981 GB " [Timeout remaining time 290] (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/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: 15.801146493002307]