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.001061/0.001061, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002413, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009831/0.0009831, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002221, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.958/0.958, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08446/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2474/2.616, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.546e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002782/0.002818, allocations: 1.572 MB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.003446, allocations: 0.4907 MB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.003487, allocations: 0 / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.003512, allocations: 3.938 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.003657, allocations: 27.84 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.097e-05/0.003728, allocations: 19.91 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.003807, allocations: 63.72 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.003879, allocations: 0 / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.004047, allocations: 47.89 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.004129, allocations: 27.91 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004147, allocations: 8 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/0.004157, allocations: 4 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.004173, allocations: 7.938 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.004206, allocations: 12 kB / 0.8206 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.591e-05/0.004292, allocations: 31.86 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.004307, allocations: 0 / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004308, allocations: 0 / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.004321, allocations: 0 / 0.8206 GB, free: 0.5469 MB / 0.7917 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.0004707/0.004792, allocations: 268.5 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.004833, allocations: 16.62 kB / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.004865, allocations: 4.875 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.00497, allocations: 121.7 kB / 0.821 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.004989, allocations: 384 / 0.821 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.005003, allocations: 8.375 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.00512, allocations: 58.92 kB / 0.821 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005131, allocations: 4.172 kB / 0.821 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005141, allocations: 4.375 kB / 0.821 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005149, allocations: 7.938 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.005182, allocations: 4 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.005525, allocations: 168.3 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.00561, allocations: 42.55 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005629, allocations: 12.86 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.005636, allocations: 0 / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.005741, allocations: 63.45 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005742, allocations: 0 / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001105/0.005852, allocations: 57.61 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.005894, allocations: 59.41 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.005954, allocations: 114.7 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.005968, allocations: 25.7 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.006, allocations: 96.08 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.006021, allocations: 15.84 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.006054, allocations: 29.69 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.006128, allocations: 310.8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.006143, allocations: 15.97 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.006153, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.00619, allocations: 28.78 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006192, allocations: 3.938 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.856e-05/0.006251, allocations: 49.69 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006263, allocations: 7.938 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006268, allocations: 7.984 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.006277, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.006344, allocations: 12 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006346, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.006375, allocations: 11.94 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.006381, allocations: 3.984 kB / 0.8221 GB, free: 14.78 MB / 0.8073 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.595e-05/0.006437, allocations: 109.8 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.006444, allocations: 4 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.006468, allocations: 12.38 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00647, allocations: 0 / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.006473, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.006477, allocations: 3.984 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.44e-05/0.006552, allocations: 69.89 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006553, allocations: 4 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.006568, allocations: 4 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.006587, allocations: 7.938 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.006591, allocations: 4 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.006597, allocations: 7.938 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006598, allocations: 256 / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006599, allocations: 0 / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.373e-05/0.006673, allocations: 85.03 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006685, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.006707, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.006732, allocations: 11.92 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006735, allocations: 0 / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.421e-05/0.006749, allocations: 12.86 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006749, allocations: 0 / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001461/0.006896, allocations: 8 kB / 0.8225 GB, free: 14.38 MB / 0.8073 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 9.194e-05/0.006987, allocations: 88.41 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.007064, allocations: 32.78 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.007071, allocations: 4 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.007094, allocations: 12.86 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.156e-05/0.007165, allocations: 12 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.008141, allocations: 174.3 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.008174, allocations: 59.34 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.008197, allocations: 7.984 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.008243, allocations: 55.38 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of SimCode: time 1.112e-06/0.008244, allocations: 4 kB / 0.8229 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.00214/0.01038, allocations: 0.6432 MB / 0.8235 GB, free: 13.25 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1532553639262915]