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.0008045/0.0008045, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007813/0.0007813, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8852/0.8852, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.013e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001655/0.001675, allocations: 1.498 MB / 0.9532 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005928/0.002268, allocations: 475.3 kB / 0.9536 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.002305, allocations: 0 / 0.9536 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.00233, allocations: 0 / 0.9536 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.002546, allocations: 43.66 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.782e-05/0.002604, allocations: 7.984 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.002683, allocations: 63.77 kB / 0.9538 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.00277, allocations: 4 kB / 0.9538 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.002939, allocations: 43.84 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.003008, allocations: 23.95 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003023, allocations: 4 kB / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.003032, allocations: 4 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.003049, allocations: 11.94 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.00308, allocations: 15.98 kB / 0.9539 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.003166, allocations: 51.8 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.003168, allocations: 0 / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003169, allocations: 4 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003172, allocations: 0 / 0.9539 GB, free: 0.7539 MB / 0.9011 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.0004171/0.003589, allocations: 286.2 kB / 0.9542 GB, free: 456 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003621, allocations: 8.031 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.003654, allocations: 8.891 kB / 0.9542 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.003738, allocations: 113.8 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.003751, allocations: 8.375 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.003761, allocations: 384 / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.003856, allocations: 54.23 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.003867, allocations: 8.109 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003877, allocations: 4.375 kB / 0.9544 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003882, allocations: 3.938 kB / 0.9544 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.003929, allocations: 20 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.004253, allocations: 224.5 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.004349, allocations: 46.56 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.004378, allocations: 20.97 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.004388, allocations: 15.92 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.00451, allocations: 71.27 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.004511, allocations: 0 / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0001725/0.004684, allocations: 89.67 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.004715, allocations: 51.41 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.004775, allocations: 117.8 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.004786, allocations: 25.7 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.004826, allocations: 92.09 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.004844, allocations: 7.906 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.004873, allocations: 25.7 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.004943, allocations: 318.8 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.00497, allocations: 15.98 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.004993, allocations: 24 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.005045, allocations: 45.3 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005047, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.046e-05/0.005127, allocations: 77.58 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.005138, allocations: 4 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005143, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005153, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.005208, allocations: 11.94 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005213, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.00525, allocations: 19.92 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005256, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 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.246e-05/0.005308, allocations: 113.8 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.005315, allocations: 7.938 kB / 0.9558 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.005333, allocations: 4.438 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005334, allocations: 0 / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.005338, allocations: 0 / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.005342, allocations: 4 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.00541, allocations: 121.2 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005411, allocations: 0 / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.005424, allocations: 8 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005426, allocations: 3.938 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005432, allocations: 256 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005433, allocations: 4 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.005436, allocations: 7.938 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.774e-05/0.005524, allocations: 97.11 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.005534, allocations: 7.891 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.005547, allocations: 7.938 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.005572, allocations: 0 / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.0056, allocations: 7.984 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005604, allocations: 8 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.005637, allocations: 91.27 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005637, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001293/0.005766, allocations: 12 kB / 0.9561 GB, free: 14.24 MB / 0.9167 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 6.741e-05/0.005833, allocations: 99.19 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.423e-05/0.005928, allocations: 47.91 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005929, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.005959, allocations: 19.98 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.006063, allocations: 7.938 kB / 0.9563 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.006432, allocations: 174.3 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.006469, allocations: 63.34 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.006495, allocations: 12.5 kB / 0.9565 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/0.006495, allocations: 0 / 0.9565 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of Templates: time 0.001411/0.007906, allocations: 0.8056 MB / 0.9573 GB, free: 12.96 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.322462918236852]