Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001225/0.001225, allocations: 116.6 kB / 17.13 MB, free: 5.941 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.001258/0.001258, allocations: 198.2 kB / 20.08 MB, free: 3.008 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.41/1.41, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.89 kB / 1.057 GB, free: 2.07 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 160.7 MB / 1.214 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002875/0.3443, allocations: 1.484 MB / 1.216 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3454, allocations: 479.6 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.3455, allocations: 0 / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.3455, allocations: 3.938 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3458, allocations: 23.84 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.797e-05/0.3458, allocations: 15.92 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3459, allocations: 51.84 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3461, allocations: 15.98 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3462, allocations: 23.86 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.3463, allocations: 19.92 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3463, allocations: 4 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.3463, allocations: 4 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3464, allocations: 15.92 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.3464, allocations: 19.92 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3465, allocations: 43.81 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3465, allocations: 0 / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3465, allocations: 0 / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3465, allocations: 4 kB / 1.216 GB, free: 14.82 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.0006777/0.3472, allocations: 355.3 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3473, allocations: 8.031 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3473, allocations: 4.938 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3475, allocations: 176.3 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3475, allocations: 8.312 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3475, allocations: 8.312 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3477, allocations: 57.98 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3477, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3477, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3477, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.3478, allocations: 20 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3482, allocations: 276.8 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3483, allocations: 42.5 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.3484, allocations: 32.94 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3484, allocations: 0 / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.3486, allocations: 63.39 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3486, allocations: 0 / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002493/0.3489, allocations: 77.62 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3489, allocations: 55.39 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.349, allocations: 105.9 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.349, allocations: 29.64 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.3491, allocations: 96.12 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3492, allocations: 11.91 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.3492, allocations: 13.72 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3494, allocations: 326.8 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.3494, allocations: 8 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.3494, allocations: 15.98 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.3495, allocations: 28.86 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3495, allocations: 0 / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001165/0.3496, allocations: 78.02 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3496, allocations: 6.344 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3496, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3497, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.3497, allocations: 8 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3497, allocations: 4 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.3498, allocations: 7.984 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3498, allocations: 0 / 1.218 GB, free: 12.71 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 0.0001043/0.3499, allocations: 117.8 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3499, allocations: 7.953 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.35, allocations: 15.89 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.35, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.35, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.35, allocations: 3.984 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3501, allocations: 169.6 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3501, allocations: 4 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.3502, allocations: 7.938 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3502, allocations: 4 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3502, allocations: 8.297 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3502, allocations: 0 / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3503, allocations: 89.06 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.3504, allocations: 89 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3504, allocations: 4 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.3505, allocations: 7.984 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.3505, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3505, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.3506, allocations: 99.25 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3506, allocations: 0 / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001847/0.3508, allocations: 8 kB / 1.219 GB, free: 11.98 MB / 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.0001439/0.3509, allocations: 107.2 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.3511, allocations: 31.92 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3511, allocations: 4 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.3511, allocations: 19.92 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.3513, allocations: 6.625 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.3517, allocations: 171.6 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.352, allocations: 0.6846 MB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.3521, allocations: 11.44 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3521, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.002532/0.3546, allocations: 0.7421 MB / 1.22 GB, free: 10.15 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.23863785690628]